mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-20 22:03:12 +01:00
Adding ability to pass texture created outside of bgfx.
This commit is contained in:
@@ -2228,6 +2228,11 @@ namespace bgfx { namespace gl
|
||||
release(mem);
|
||||
}
|
||||
|
||||
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