mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-11-17 05:16:13 +00:00
Adding ability to pass texture created outside of bgfx.
This commit is contained in:
@@ -997,6 +997,11 @@ namespace bgfx { namespace d3d9
|
||||
texture.m_height = _height;
|
||||
}
|
||||
|
||||
void setInternal(TextureHandle _handle, uintptr_t _ptr) BX_OVERRIDE
|
||||
{
|
||||
BX_UNUSED(_handle, _ptr);
|
||||
}
|
||||
|
||||
void destroyTexture(TextureHandle _handle) BX_OVERRIDE
|
||||
{
|
||||
m_textures[_handle.idx].destroy();
|
||||
|
||||
Reference in New Issue
Block a user