diff --git a/examples/15-shadowmaps-simple/shadowmaps_simple.cpp b/examples/15-shadowmaps-simple/shadowmaps_simple.cpp index 225b2e2c..24f25e76 100644 --- a/examples/15-shadowmaps-simple/shadowmaps_simple.cpp +++ b/examples/15-shadowmaps-simple/shadowmaps_simple.cpp @@ -483,10 +483,10 @@ int _main_(int /*_argc*/, char** /*_argv*/) uint16_t shadowMapSize = 512; // Get renderer capabilities info. - //const bgfx::Caps* caps = bgfx::getCaps(); + const bgfx::Caps* caps = bgfx::getCaps(); // Shadow samplers are supported at least partially supported if texture // compare less equal feature is supported. - bool shadowSamplerSupported = false; //0 != (caps->supported & BGFX_CAPS_TEXTURE_COMPARE_LEQUAL); + bool shadowSamplerSupported = 0 != (caps->supported & BGFX_CAPS_TEXTURE_COMPARE_LEQUAL); bgfx::ProgramHandle progShadow; bgfx::ProgramHandle progMesh;