Runtime fixes
This commit is contained in:
@ -12,7 +12,7 @@ debug_draw_text :: proc( content : string, pos : Vec2, size : f32, color : rl.Co
|
||||
return
|
||||
}
|
||||
runes, alloc_error := to_runes( content, context.temp_allocator )
|
||||
verify( alloc_error != AllocatorError.None, "Failed to temp allocate runes" )
|
||||
verify( alloc_error == AllocatorError.None, "Failed to temp allocate runes" )
|
||||
|
||||
font := font
|
||||
if font.key == Font_Default.key {
|
||||
@ -40,7 +40,7 @@ debug_draw_text_world :: proc( content : string, pos : Vec2, size : f32, color :
|
||||
return
|
||||
}
|
||||
runes, alloc_error := to_runes( content, context.temp_allocator )
|
||||
verify( alloc_error != AllocatorError.None, "Failed to temp allocate runes" )
|
||||
verify( alloc_error == AllocatorError.None, "Failed to temp allocate runes" )
|
||||
|
||||
font := font
|
||||
if font.key == Font_Default.key {
|
||||
|
Reference in New Issue
Block a user