diff --git a/examples/01-cubes/cubes.cpp b/examples/01-cubes/cubes.cpp index ca6f697a0..0459c068e 100644 --- a/examples/01-cubes/cubes.cpp +++ b/examples/01-cubes/cubes.cpp @@ -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; diff --git a/examples/02-metaballs/metaballs.cpp b/examples/02-metaballs/metaballs.cpp index 5fdfc0f1d..3553356b4 100644 --- a/examples/02-metaballs/metaballs.cpp +++ b/examples/02-metaballs/metaballs.cpp @@ -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; diff --git a/examples/03-raymarch/raymarch.cpp b/examples/03-raymarch/raymarch.cpp index 51359f38d..84c523510 100644 --- a/examples/03-raymarch/raymarch.cpp +++ b/examples/03-raymarch/raymarch.cpp @@ -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; diff --git a/examples/04-mesh/mesh.cpp b/examples/04-mesh/mesh.cpp index 4f651f151..59cfec3d5 100644 --- a/examples/04-mesh/mesh.cpp +++ b/examples/04-mesh/mesh.cpp @@ -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; diff --git a/examples/05-instancing/instancing.cpp b/examples/05-instancing/instancing.cpp index 221f11cc0..cd9d82c80 100644 --- a/examples/05-instancing/instancing.cpp +++ b/examples/05-instancing/instancing.cpp @@ -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; diff --git a/examples/06-bump/bump.cpp b/examples/06-bump/bump.cpp index 5b8645c19..c7ee52e2c 100644 --- a/examples/06-bump/bump.cpp +++ b/examples/06-bump/bump.cpp @@ -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;