Keep -vet happy

This commit is contained in:
gingerBill
2023-06-28 12:20:12 +01:00
parent 866a9fdf19
commit abca3ceac8
3 changed files with 3 additions and 5 deletions
+1 -1
View File
@@ -1067,7 +1067,7 @@ TextIterNext :: proc(
iter.x = iter.nextx
iter.y = iter.nexty
iter.codepointCount += 1
if glyph, ok := __getGlyph(ctx, iter.font, iter.codepoint, iter.isize, iter.iblur); ok {
if glyph, glyph_ok := __getGlyph(ctx, iter.font, iter.codepoint, iter.isize, iter.iblur); glyph_ok {
__getQuad(ctx, iter.font, iter.previousGlyphIndex, glyph, iter.scale, iter.spacing, &iter.nextx, &iter.nexty, quad)
iter.previousGlyphIndex = glyph.index
} else {