fixed global init flags not being flagged
This commit is contained in:
parent
986e48bce4
commit
963554cd85
@ -203,6 +203,7 @@ static void AllocGrow(usize size)
|
||||
static void GlobalFreeListInit(usize size)
|
||||
{
|
||||
FreeListInit(&FL_ALLOC, size);
|
||||
FL_GLOBAL_INIT = true;
|
||||
}
|
||||
|
||||
static rawptr FLMemAlloc(usize size)
|
||||
|
||||
@ -32,6 +32,8 @@ static void LoadAssetPackHeader()
|
||||
MemCpy(Texture_Assets, &ASSET_PACK[File_Header.asset_offsets[TEXTURE_ASSET]], sizeof(AssetFile) * File_Header.asset_counts[TEXTURE_ASSET]);
|
||||
|
||||
MemCpy(Shader_Assets, &ASSET_PACK[File_Header.asset_offsets[SHADER_ASSET]], sizeof(AssetFile) * File_Header.asset_counts[SHADER_ASSET]);
|
||||
|
||||
ASSET_HEADER_LOADED = true;
|
||||
}
|
||||
|
||||
// ::Assets::Init::Functions::End::
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user