This commit is contained in:
bkaradzic 2013-11-17 22:26:15 -08:00
parent 32fe192101
commit 333b164278

View File

@ -1980,10 +1980,10 @@ int _main_(int /*_argc*/, char** /*_argv*/)
bgfx::ProgramHandle svProgs[ShadowVolumeProgramType::Count][ShadowVolumePart::Count] =
{
{ programBackBlank, programSideBlank, programFrontBlank } // Blank
,{ programBackColor, programSideColor, programFrontColor } // Color
,{ programBackTex1, programSideTex, programFrontTex1 } // Tex1
,{ programBackTex2, programSideTex, programFrontTex2 } // Tex2
{ programBackBlank, programSideBlank, programFrontBlank }, // Blank
{ programBackColor, programSideColor, programFrontColor }, // Color
{ programBackTex1, programSideTex, programFrontTex1 }, // Tex1
{ programBackTex2, programSideTex, programFrontTex2 }, // Tex2
};
Model bunnyLowPolyModel;
@ -2101,7 +2101,7 @@ int _main_(int /*_argc*/, char** /*_argv*/)
{
//respond properly on resize
if (oldWidth != viewState.m_width
|| oldHeight != viewState.m_height)
|| oldHeight != viewState.m_height)
{
oldWidth = viewState.m_width;
oldHeight = viewState.m_height;