mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-03-14 22:50:45 +00:00
Turn off timer queries if Vulkan is active
This commit is contained in:
parent
bdea96cc2a
commit
40aec4ca2e
1 changed files with 5 additions and 2 deletions
|
@ -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()
|
||||
|
|
Loading…
Reference in a new issue