summaryrefslogtreecommitdiff
path: root/src/renderer/OpenGL.zig
diff options
context:
space:
mode:
authorQwerasd <qwerasd205@users.noreply.github.com>2025-01-06 17:39:53 -0500
committerQwerasd <qwerasd205@users.noreply.github.com>2025-01-06 20:13:45 -0500
commit540fcc0b690901f185ca00465dafed2e9423b479 (patch)
tree4913bc936fd441de2c8dab454addcc22ee39d3ef /src/renderer/OpenGL.zig
parent037de64ea2c3f6201948236559524986f41a72f7 (diff)
refactor(font): move `Metrics` out of `face`
in preparation to move ownership of metrics from faces to collections
Diffstat (limited to 'src/renderer/OpenGL.zig')
-rw-r--r--src/renderer/OpenGL.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/renderer/OpenGL.zig b/src/renderer/OpenGL.zig
index 157354d1d..dda9e9224 100644
--- a/src/renderer/OpenGL.zig
+++ b/src/renderer/OpenGL.zig
@@ -49,7 +49,7 @@ alloc: std.mem.Allocator,
config: DerivedConfig,
/// Current font metrics defining our grid.
-grid_metrics: font.face.Metrics,
+grid_metrics: font.Metrics,
/// The size of everything.
size: renderer.Size,
@@ -231,7 +231,7 @@ const SetScreenSize = struct {
};
const SetFontSize = struct {
- metrics: font.face.Metrics,
+ metrics: font.Metrics,
fn apply(self: SetFontSize, r: *const OpenGL) !void {
const gl_state = r.gl_state orelse return error.OpenGLUninitialized;