mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-21 06:13:07 +01:00
Cleanup.
This commit is contained in:
@@ -1759,11 +1759,17 @@ BX_PRAGMA_DIAGNOSTIC_POP();
|
||||
|
||||
void overrideInternal(TextureHandle _handle, uintptr_t _ptr) BX_OVERRIDE
|
||||
{
|
||||
// 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