mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-10-25 18:25:29 +00:00
Don't present BGFX_FRAME_FLUSH frames. Fixed D3D12/VK flush sync. (#3771)
This commit is contained in:
@@ -7248,6 +7248,7 @@ namespace bgfx { namespace d3d12
|
||||
|
||||
D3D12_GPU_DESCRIPTOR_HANDLE gpuHandle;
|
||||
ScratchBufferD3D12& scratchBuffer = m_scratchBuffer[m_backBufferColorIdx];
|
||||
m_cmd.finish(m_backBufferColorFence[m_backBufferColorIdx]);
|
||||
scratchBuffer.reset(gpuHandle);
|
||||
|
||||
m_uniformScratchBuffer.begin();
|
||||
|
||||
Reference in New Issue
Block a user