mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-15 15:51:07 +02:00
Raytracing backend now supports multiple worlds.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user