Add asset module

This commit is contained in:
2025-05-31 14:36:11 +02:00
parent af6fd5fc45
commit dbddea69f5
3 changed files with 8 additions and 4 deletions

View File

@@ -53,7 +53,7 @@ AudioAsset load_audio(uint8_t const* data, size_t size)
return audio_asset;
}
void init_assets(flecs::world& world)
AssetModule::AssetModule(flecs::world& world)
{
auto* renderer = world.get<SdlHandles>()->renderer;