mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-17 20:52:36 +01:00
Cleanup.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user