mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
Cleanup.
This commit is contained in:
parent
6eee3cca63
commit
a4e189a366
1 changed files with 2 additions and 2 deletions
|
@ -483,10 +483,10 @@ int _main_(int /*_argc*/, char** /*_argv*/)
|
||||||
uint16_t shadowMapSize = 512;
|
uint16_t shadowMapSize = 512;
|
||||||
|
|
||||||
// Get renderer capabilities info.
|
// 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
|
// Shadow samplers are supported at least partially supported if texture
|
||||||
// compare less equal feature is supported.
|
// 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 progShadow;
|
||||||
bgfx::ProgramHandle progMesh;
|
bgfx::ProgramHandle progMesh;
|
||||||
|
|
Loading…
Reference in a new issue