From d2179e8f2c97b96817f2d47740978d8f0bdae804 Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Thu, 18 Apr 2024 21:04:43 -0700 Subject: [PATCH] gfx: correct some zls autofixes Signed-off-by: Stephen Gutekanst --- src/gfx/Text.zig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gfx/Text.zig b/src/gfx/Text.zig index 7179773e..625debc2 100644 --- a/src/gfx/Text.zig +++ b/src/gfx/Text.zig @@ -156,11 +156,11 @@ fn updatePipeline( // TODO(text): respect these style parameters const font_size = core.entities.getComponent(style, .mach_gfx_text_style, .font_size).?; const font_weight = core.entities.getComponent(style, .mach_gfx_text_style, .font_weight); - _ = font_weight; // autofix + _ = font_weight; const italic = core.entities.getComponent(style, .mach_gfx_text_style, .italic); - _ = italic; // autofix + _ = italic; const color = core.entities.getComponent(style, .mach_gfx_text_style, .color); - _ = color; // autofix + _ = color; // Create a text shaper var run = try gfx.TextRun.init();