Handle all enums in switch.

This commit is contained in:
Branimir Karadzic 2012-11-03 21:29:41 -07:00
parent 9e681bb2ed
commit 20fdda0659
6 changed files with 6 additions and 6 deletions

View File

@ -120,7 +120,7 @@ int _main_(int _argc, char** _argv)
// for each renderer.
switch (bgfx::getRendererType() )
{
case bgfx::RendererType::Null:
default:
case bgfx::RendererType::Direct3D9:
s_shaderPath = "shaders/dx9/";
break;

View File

@ -520,7 +520,7 @@ int _main_(int _argc, char** _argv)
// for each renderer.
switch (bgfx::getRendererType() )
{
case bgfx::RendererType::Null:
default:
case bgfx::RendererType::Direct3D9:
s_shaderPath = "shaders/dx9/";
break;

View File

@ -202,7 +202,7 @@ int _main_(int _argc, char** _argv)
// for each renderer.
switch (bgfx::getRendererType() )
{
case bgfx::RendererType::Null:
default:
case bgfx::RendererType::Direct3D9:
s_shaderPath = "shaders/dx9/";
break;

View File

@ -218,7 +218,7 @@ int _main_(int _argc, char** _argv)
// for each renderer.
switch (bgfx::getRendererType() )
{
case bgfx::RendererType::Null:
default:
case bgfx::RendererType::Direct3D9:
s_shaderPath = "shaders/dx9/";
break;

View File

@ -120,7 +120,7 @@ int _main_(int _argc, char** _argv)
// for each renderer.
switch (bgfx::getRendererType() )
{
case bgfx::RendererType::Null:
default:
case bgfx::RendererType::Direct3D9:
s_shaderPath = "shaders/dx9/";
break;

View File

@ -276,7 +276,7 @@ int _main_(int _argc, char** _argv)
// for each renderer.
switch (bgfx::getRendererType() )
{
case bgfx::RendererType::Null:
default:
case bgfx::RendererType::Direct3D9:
s_shaderPath = "shaders/dx9/";
break;