clang-format #39

Merged
MartinFouilleul merged 6 commits from clang-format into main 2023-08-18 15:59:41 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit c8dc466449 - Show all commits

View File

@ -91,8 +91,8 @@ ORCA_EXPORT void OnInit(void)
UNICODE_RANGE_LATIN_EXTENDED_A, UNICODE_RANGE_LATIN_EXTENDED_A,
UNICODE_RANGE_LATIN_EXTENDED_B, UNICODE_RANGE_LATIN_EXTENDED_B,
UNICODE_RANGE_SPECIALS }; UNICODE_RANGE_SPECIALS };
// NOTE(ben): Weird that images are "create from data" but fonts are "create from memory" //NOTE(ben): Weird that images are "create from data" but fonts are "create from memory"
// TODO: Decide whether we're using strings or explicit pointer + length //TODO: Decide whether we're using strings or explicit pointer + length
pongFont = mg_font_create_from_memory(fontStr.len, (byte*)fontStr.ptr, 5, ranges); pongFont = mg_font_create_from_memory(fontStr.len, (byte*)fontStr.ptr, 5, ranges);
mem_arena_clear(mem_scratch()); mem_arena_clear(mem_scratch());