fix: refresh d3d12 swapchain backbuffers on resize
This commit is contained in:
@@ -33,6 +33,9 @@ public:
|
||||
void* GetNativeHandle() override;
|
||||
|
||||
private:
|
||||
bool RefreshBackBuffers();
|
||||
void ReleaseBackBuffers();
|
||||
|
||||
ComPtr<IDXGISwapChain3> m_swapChain;
|
||||
ComPtr<ID3D12CommandQueue> m_commandQueue;
|
||||
uint32_t m_width;
|
||||
|
||||
Reference in New Issue
Block a user