mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 02:25:37 -05:00
OSX: Fixed build.
This commit is contained in:
parent
7b6c2e85d5
commit
4a7e22ef60
1 changed files with 1 additions and 2 deletions
|
@ -661,7 +661,6 @@ namespace bgfx { namespace mtl
|
|||
bx::write(&writer, magic);
|
||||
|
||||
TextureCreate tc;
|
||||
tc.m_flags = texture.m_flags;
|
||||
tc.m_width = _width;
|
||||
tc.m_height = _height;
|
||||
tc.m_sides = 0;
|
||||
|
@ -673,7 +672,7 @@ namespace bgfx { namespace mtl
|
|||
bx::write(&writer, tc);
|
||||
|
||||
texture.destroy();
|
||||
texture.create(mem, tc.m_flags, 0);
|
||||
texture.create(mem, texture.m_flags, 0);
|
||||
|
||||
release(mem);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue