mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-10-26 02:35:27 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user