mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
Fixed compiler warning.
This commit is contained in:
parent
80b7ad4d2f
commit
efc6516a00
1 changed files with 5 additions and 1 deletions
|
@ -484,7 +484,7 @@ namespace bgfx
|
||||||
m_decl.add(Attrib::Color0, 4, AttribType::Uint8, true);
|
m_decl.add(Attrib::Color0, 4, AttribType::Uint8, true);
|
||||||
m_decl.end();
|
m_decl.end();
|
||||||
|
|
||||||
ShaderHandle vsh;
|
ShaderHandle vsh = BGFX_INVALID_HANDLE;
|
||||||
|
|
||||||
const Memory* fragMem[BGFX_CONFIG_MAX_FRAME_BUFFER_ATTACHMENTS];
|
const Memory* fragMem[BGFX_CONFIG_MAX_FRAME_BUFFER_ATTACHMENTS];
|
||||||
if (BX_ENABLED(BGFX_CONFIG_RENDERER_DIRECT3D11) )
|
if (BX_ENABLED(BGFX_CONFIG_RENDERER_DIRECT3D11) )
|
||||||
|
@ -503,6 +503,10 @@ namespace bgfx
|
||||||
fragMem[2] = makeRef(fs_clear2_glsl, sizeof(fs_clear2_glsl) );
|
fragMem[2] = makeRef(fs_clear2_glsl, sizeof(fs_clear2_glsl) );
|
||||||
fragMem[3] = makeRef(fs_clear3_glsl, sizeof(fs_clear3_glsl) );
|
fragMem[3] = makeRef(fs_clear3_glsl, sizeof(fs_clear3_glsl) );
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
BX_CHECK(false, "You should not be here!");
|
||||||
|
}
|
||||||
|
|
||||||
for (uint32_t ii = 0; ii < BGFX_CONFIG_MAX_FRAME_BUFFER_ATTACHMENTS; ++ii)
|
for (uint32_t ii = 0; ii < BGFX_CONFIG_MAX_FRAME_BUFFER_ATTACHMENTS; ++ii)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue