mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-07 16:18:52 +00:00
Keep -vet happy
This commit is contained in:
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