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
@@ -921,7 +921,7 @@ void idGLDrawableWorld::draw(int x, int y, int w, int h) {
void idGLDrawableWorld::InitWorld() {
if ( world == NULL ) {
world = renderSystem->AllocRenderWorld();
world = renderSystem->AllocRenderWorld(dxrWorldId_t::DXR_WIDGET_0);
}
if ( worldModel == NULL ) {
worldModel = renderModelManager->AllocModel();