Keep -vet happy

This commit is contained in:
gingerBill
2023-06-26 23:00:39 +01:00
parent 1bf4c8c9ba
commit a820246f64
3 changed files with 15 additions and 15 deletions
+3 -3
View File
@@ -146,7 +146,7 @@ Init :: proc(using ctx: ^FontContext, w, h: int, loc: QuadLocation) {
}
Destroy :: proc(using ctx: ^FontContext) {
for font in &fonts {
for font in fonts {
if font.freeLoadedData {
delete(font.loadedData)
}
@@ -166,7 +166,7 @@ Reset :: proc(using ctx: ^FontContext) {
__dirtyRectReset(ctx)
mem.zero_slice(textureData)
for font in &fonts {
for &font in fonts {
__lutReset(&font)
}
@@ -722,7 +722,7 @@ ResetAtlas :: proc(ctx: ^FontContext, width, height: int, allocator := context.a
ctx.dirtyRect[3] = 0
// reset fonts
for font in &ctx.fonts {
for &font in ctx.fonts {
clear(&font.glyphs)
__lutReset(&font)
}