Handle all enums in switch.
This commit is contained in:
parent
9e681bb2ed
commit
20fdda0659
@ -120,7 +120,7 @@ int _main_(int _argc, char** _argv)
|
|||||||
// for each renderer.
|
// for each renderer.
|
||||||
switch (bgfx::getRendererType() )
|
switch (bgfx::getRendererType() )
|
||||||
{
|
{
|
||||||
case bgfx::RendererType::Null:
|
default:
|
||||||
case bgfx::RendererType::Direct3D9:
|
case bgfx::RendererType::Direct3D9:
|
||||||
s_shaderPath = "shaders/dx9/";
|
s_shaderPath = "shaders/dx9/";
|
||||||
break;
|
break;
|
||||||
|
@ -520,7 +520,7 @@ int _main_(int _argc, char** _argv)
|
|||||||
// for each renderer.
|
// for each renderer.
|
||||||
switch (bgfx::getRendererType() )
|
switch (bgfx::getRendererType() )
|
||||||
{
|
{
|
||||||
case bgfx::RendererType::Null:
|
default:
|
||||||
case bgfx::RendererType::Direct3D9:
|
case bgfx::RendererType::Direct3D9:
|
||||||
s_shaderPath = "shaders/dx9/";
|
s_shaderPath = "shaders/dx9/";
|
||||||
break;
|
break;
|
||||||
|
@ -202,7 +202,7 @@ int _main_(int _argc, char** _argv)
|
|||||||
// for each renderer.
|
// for each renderer.
|
||||||
switch (bgfx::getRendererType() )
|
switch (bgfx::getRendererType() )
|
||||||
{
|
{
|
||||||
case bgfx::RendererType::Null:
|
default:
|
||||||
case bgfx::RendererType::Direct3D9:
|
case bgfx::RendererType::Direct3D9:
|
||||||
s_shaderPath = "shaders/dx9/";
|
s_shaderPath = "shaders/dx9/";
|
||||||
break;
|
break;
|
||||||
|
@ -218,7 +218,7 @@ int _main_(int _argc, char** _argv)
|
|||||||
// for each renderer.
|
// for each renderer.
|
||||||
switch (bgfx::getRendererType() )
|
switch (bgfx::getRendererType() )
|
||||||
{
|
{
|
||||||
case bgfx::RendererType::Null:
|
default:
|
||||||
case bgfx::RendererType::Direct3D9:
|
case bgfx::RendererType::Direct3D9:
|
||||||
s_shaderPath = "shaders/dx9/";
|
s_shaderPath = "shaders/dx9/";
|
||||||
break;
|
break;
|
||||||
|
@ -120,7 +120,7 @@ int _main_(int _argc, char** _argv)
|
|||||||
// for each renderer.
|
// for each renderer.
|
||||||
switch (bgfx::getRendererType() )
|
switch (bgfx::getRendererType() )
|
||||||
{
|
{
|
||||||
case bgfx::RendererType::Null:
|
default:
|
||||||
case bgfx::RendererType::Direct3D9:
|
case bgfx::RendererType::Direct3D9:
|
||||||
s_shaderPath = "shaders/dx9/";
|
s_shaderPath = "shaders/dx9/";
|
||||||
break;
|
break;
|
||||||
|
@ -276,7 +276,7 @@ int _main_(int _argc, char** _argv)
|
|||||||
// for each renderer.
|
// for each renderer.
|
||||||
switch (bgfx::getRendererType() )
|
switch (bgfx::getRendererType() )
|
||||||
{
|
{
|
||||||
case bgfx::RendererType::Null:
|
default:
|
||||||
case bgfx::RendererType::Direct3D9:
|
case bgfx::RendererType::Direct3D9:
|
||||||
s_shaderPath = "shaders/dx9/";
|
s_shaderPath = "shaders/dx9/";
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user