mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-20 22:03:12 +01:00
Cleanup.
This commit is contained in:
@@ -999,11 +999,17 @@ namespace bgfx { namespace d3d9
|
||||
|
||||
void overrideInternal(TextureHandle _handle, uintptr_t _ptr) BX_OVERRIDE
|
||||
{
|
||||
BX_UNUSED(_handle, _ptr);
|
||||
// Resource ref. counts might be messed up outside of bgfx.
|
||||
// Disabling ref. count check once texture is overridden.
|
||||
setGraphicsDebuggerPresent(true);
|
||||
m_textures[_handle.idx].overrideInternal(_ptr);
|
||||
}
|
||||
|
||||
uintptr_t getInternal(TextureHandle _handle) BX_OVERRIDE
|
||||
{
|
||||
// Resource ref. counts might be messed up outside of bgfx.
|
||||
// Disabling ref. count check once texture is overridden.
|
||||
setGraphicsDebuggerPresent(true);
|
||||
return uintptr_t(m_textures[_handle.idx].m_ptr);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user