Raytracing backend now supports multiple worlds.

This commit is contained in:
Justin Marshall
2026-04-22 23:23:49 -07:00
parent a678dda40e
commit ef5b5f107d
18 changed files with 961 additions and 485 deletions
+1 -1
View File
@@ -2845,7 +2845,7 @@ void idSessionLocal::Init() {
// the same idRenderWorld will be used for all games
// and demos, insuring that level specific models
// will be freed
rw = renderSystem->AllocRenderWorld();
rw = renderSystem->AllocRenderWorld(dxrWorldId_t::DXR_WORLD_GAME);
sw = soundSystem->AllocSoundWorld( rw );
menuSoundWorld = soundSystem->AllocSoundWorld( rw );