diff options
author | quou <quou@disroot.org> | 2024-12-29 13:54:35 +1100 |
---|---|---|
committer | quou <quou@disroot.org> | 2024-12-29 13:55:35 +1100 |
commit | f107689be915d96363ea75889631939c62f07980 (patch) | |
tree | a4b54d5145f12ee946dd24c18e6f6d5225a4d997 /c2.cpp | |
parent | 928eba3845d6017d133048cf04c1f816d87941b0 (diff) |
cache assets to avoid loading them more than once
Diffstat (limited to 'c2.cpp')
-rw-r--r-- | c2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -102,7 +102,7 @@ extern "C" int entrypoint() { arena_alloc(app->arena, ui_arena_size), ui_arena_size ); - assets.init(&asset_arena, "pack"); + assets.init(&asset_arena, "pack", 128); dev = Device::create(&video_arena, app); model_loader.init(dev, &assets); register_asset_loader("MODL", &model_loader); |