Turn off timer queries if Vulkan is active

This commit is contained in:
Robert Beckebans 2022-10-25 20:33:03 +02:00
parent bdea96cc2a
commit 40aec4ca2e

View file

@ -189,8 +189,11 @@ void idRenderBackend::Init()
currentIndexOffset = 0;
currentJointOffset = 0;
// RB: prepare ImGui system
//ImGui_Init();
// RB: FIXME but for now disable it to avoid validation errors
if( deviceManager->GetGraphicsAPI() == nvrhi::GraphicsAPI::VULKAN )
{
glConfig.timerQueryAvailable = false;
}
}
void idRenderBackend::Shutdown()