GL: Fixed timer query stall without a swap. WGPU: Reset read-only depth/stencil for swap chains. Fixed occlusion query result on handle reuse. (#3993)

This commit is contained in:
Branimir Karadžić
2026-09-19 21:59:40 +00:00
committed by GitHub
parent e693f8f72d
commit 81d81fba72
5 changed files with 35 additions and 3 deletions
+11
View File
@@ -3247,6 +3247,17 @@ namespace bgfx { namespace gl
m_needPresent = false;
}
}
if (m_needPresent)
{
return;
}
if (m_timerQuerySupport
&& m_gpuTimer.hasPending() )
{
GL_CHECK(glFinish() );
}
}
void createIndexBuffer(IndexBufferHandle _handle, const Memory* _mem, uint16_t _flags) override