Keep -vet happy
This commit is contained in:
1 parent
1bf4c8c9ba
commit
a820246f64
3 files changed
+15
-15
No files matched your search
Vendored
+3
-3
@@ -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)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user