From f107689be915d96363ea75889631939c62f07980 Mon Sep 17 00:00:00 2001 From: quou Date: Sun, 29 Dec 2024 13:54:35 +1100 Subject: cache assets to avoid loading them more than once --- c2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'c2.cpp') diff --git a/c2.cpp b/c2.cpp index 29f3955..d3b414b 100644 --- a/c2.cpp +++ b/c2.cpp @@ -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); -- cgit v1.2.3-54-g00ecf