mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-19 05:23:00 +01:00
Fixed update texture.
This commit is contained in:
@@ -114,12 +114,12 @@ namespace bgfx
|
||||
|
||||
if (BGFX_MAGIC == magic)
|
||||
{
|
||||
TextureInfo ti;
|
||||
stream.read(ti);
|
||||
TextureCreate tc;
|
||||
stream.read(tc);
|
||||
|
||||
if (NULL != ti.m_mem)
|
||||
if (NULL != tc.m_mem)
|
||||
{
|
||||
release(ti.m_mem);
|
||||
release(tc.m_mem);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user