gfx: correct some zls autofixes

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2024-04-18 21:04:43 -07:00
parent 87a7cd8ed8
commit d2179e8f2c

View file

@ -156,11 +156,11 @@ fn updatePipeline(
// TODO(text): respect these style parameters // TODO(text): respect these style parameters
const font_size = core.entities.getComponent(style, .mach_gfx_text_style, .font_size).?; 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); 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); 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); const color = core.entities.getComponent(style, .mach_gfx_text_style, .color);
_ = color; // autofix _ = color;
// Create a text shaper // Create a text shaper
var run = try gfx.TextRun.init(); var run = try gfx.TextRun.init();