mirror of
https://github.com/jmarshall23/DoomRTX.git
synced 2026-08-14 10:11:51 +02:00
Raytracing backend now supports multiple worlds.
This commit is contained in:
@@ -241,7 +241,7 @@ void idGLDrawableView::ResetView( void ) {
|
||||
void idGLDrawableView::InitWorld() {
|
||||
|
||||
if ( world == NULL ) {
|
||||
world = renderSystem->AllocRenderWorld();
|
||||
world = renderSystem->AllocRenderWorld(dxrWorldId_t::DXR_MATERIAL_PREVIEW);
|
||||
}
|
||||
if ( worldModel == NULL ) {
|
||||
worldModel = renderModelManager->AllocModel();
|
||||
|
||||
Reference in New Issue
Block a user