mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-18 21:13:02 +01:00
Updated README.
This commit is contained in:
@@ -533,6 +533,19 @@ namespace bgfx
|
||||
m_fmtDepth = D3DFMT_D24FS8;
|
||||
#endif // BX_PLATFORM_WINDOWS
|
||||
|
||||
{
|
||||
IDirect3DSwapChain9* swapChain;
|
||||
DX_CHECK(m_device->GetSwapChain(0, &swapChain) );
|
||||
|
||||
// GPA increases swapchain ref count.
|
||||
//
|
||||
// This causes assert in debug. When debugger is present refcount
|
||||
// checks are off.
|
||||
setGraphicsDebuggerPresent(1 != getRefCount(swapChain) );
|
||||
|
||||
DX_RELEASE(swapChain, 0);
|
||||
}
|
||||
|
||||
postReset();
|
||||
|
||||
m_initialized = true;
|
||||
|
||||
Reference in New Issue
Block a user