gfx: correct some zls autofixes
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
87a7cd8ed8
commit
d2179e8f2c
1 changed files with 3 additions and 3 deletions
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue