From aea6f9daf389f14a6dfc63389c44e6ba63800031 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Mon, 16 Feb 2015 22:05:19 -0800 Subject: [PATCH] Cleanup. --- examples/13-stencil/stencil.cpp | 3 +-- examples/14-shadowvolumes/shadowvolumes.cpp | 1 - examples/16-shadowmaps/shadowmaps.cpp | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/examples/13-stencil/stencil.cpp b/examples/13-stencil/stencil.cpp index 9aed135c9..a9f62402e 100644 --- a/examples/13-stencil/stencil.cpp +++ b/examples/13-stencil/stencil.cpp @@ -856,13 +856,12 @@ int _main_(int /*_argc*/, char** /*_argv*/) // for each renderer. switch (bgfx::getRendererType() ) { - default: case bgfx::RendererType::OpenGL: case bgfx::RendererType::OpenGLES: s_flipV = true; break; - default:8 + default: break; } diff --git a/examples/14-shadowvolumes/shadowvolumes.cpp b/examples/14-shadowvolumes/shadowvolumes.cpp index d84112484..e6a79456d 100644 --- a/examples/14-shadowvolumes/shadowvolumes.cpp +++ b/examples/14-shadowvolumes/shadowvolumes.cpp @@ -1871,7 +1871,6 @@ int _main_(int /*_argc*/, char** /*_argv*/) // for each renderer. switch (bgfx::getRendererType() ) { - default: case bgfx::RendererType::Direct3D9: s_texelHalf = 0.5f; break; diff --git a/examples/16-shadowmaps/shadowmaps.cpp b/examples/16-shadowmaps/shadowmaps.cpp index 01dc32282..86b3d7082 100644 --- a/examples/16-shadowmaps/shadowmaps.cpp +++ b/examples/16-shadowmaps/shadowmaps.cpp @@ -1332,7 +1332,6 @@ int _main_(int /*_argc*/, char** /*_argv*/) // for each renderer. switch (bgfx::getRendererType() ) { - default: case bgfx::RendererType::Direct3D9: s_texelHalf = 0.5f; break;