minor fromatting changes

This commit is contained in:
Edward R. Gonzalez 2024-03-06 22:41:17 -05:00
parent 1f2f0c66d8
commit c71ed67d6a
3 changed files with 6 additions and 6 deletions

View File

@ -19,7 +19,7 @@ Memory_Trans_Temp_Szie :: (Memory_Chunk_Size - Memory_Persistent_Size ) / 2
Memory_Base_Address_Persistent :: Terabyte * 1
Memory_Base_Address_Frame :: Memory_Base_Address_Persistent + Memory_Reserve_Persistent
// TODO(Ed) : This is based off of using 32 gigs of my (Ed) as a maximum.
// TODO(Ed) : This is based off of using 32 gigs of my ram(Ed) as a maximum.
// Later on this has to be adjusted to be ratios based on user's system memory.
Memory_Reserve_Persistent :: 8 * Gigabyte
Memory_Reserve_Frame :: 4 * Gigabyte
@ -126,9 +126,9 @@ AppConfig :: struct {
State :: struct {
font_provider_data : FontProviderData,
input_data : [2] InputState,
input_prev : ^ InputState,
input : ^ InputState,
input_data : [2]InputState,
input_prev : ^InputState,
input : ^InputState,
debug : DebugData,

View File

@ -245,7 +245,7 @@ zpl_hmap_find :: proc( using self : ^ HMapZPL( $ Type), key : u64 ) -> HMapZPL_F
result.hash_index = cast(i64)( key % hashes.num )
result.entry_index = hashes.data[ result.hash_index ]
for ; result.entry_index >= 0; {
for ; result.entry_index >= 0; {
entry := & entries.data[ result.entry_index ]
if entry.key == key {
break

View File

@ -269,7 +269,7 @@ UI_State :: struct {
// TODO(Ed) : Look into using a build arena like Ryan does for these possibly (and thus have a linked-list stack)
theme_stack : StackFixed( UI_StyleTheme, UI_Style_Stack_Size ),
parent_stack : StackFixed( ^ UI_Box, UI_Parent_Stack_Size ),
parent_stack : StackFixed( ^UI_Box, UI_Parent_Stack_Size ),
// flag_stack : Stack( UI_BoxFlags, UI_BoxFlags_Stack_Size ),
hot : UI_Key,