Fixed issue #714.

This commit is contained in:
Branimir Karadžić
2016-03-13 12:13:19 -07:00
parent 5184c6bfa2
commit 56ede30ec0
6 changed files with 27 additions and 14 deletions

View File

@@ -348,7 +348,6 @@ namespace bgfx
bx::write(&writer, magic);
TextureCreate tc;
tc.m_flags = _flags;
tc.m_width = _width;
tc.m_height = _height;
tc.m_sides = 0;
@@ -1820,7 +1819,7 @@ namespace bgfx
qsort(scores, numScores, sizeof(int32_t), compareDescending);
RendererContextI* renderCtx = NULL;
RendererContextI* renderCtx;
for (uint32_t ii = 0; ii < numScores; ++ii)
{
RendererType::Enum renderer = RendererType::Enum(scores[ii] & 0xff);
@@ -2913,7 +2912,6 @@ namespace bgfx
bx::write(&writer, magic);
TextureCreate tc;
tc.m_flags = _flags;
tc.m_width = _width;
tc.m_height = _height;
tc.m_sides = 0;
@@ -2970,7 +2968,6 @@ namespace bgfx
bx::write(&writer, magic);
TextureCreate tc;
tc.m_flags = _flags;
tc.m_width = _width;
tc.m_height = _height;
tc.m_sides = 0;
@@ -3014,7 +3011,6 @@ namespace bgfx
bx::write(&writer, magic);
TextureCreate tc;
tc.m_flags = _flags;
tc.m_width = _size;
tc.m_height = _size;
tc.m_sides = 6;