diff options
Diffstat (limited to '3rdparty/bgfx/examples/15-shadowmaps-simple/shadowmaps_simple.cpp')
-rw-r--r-- | 3rdparty/bgfx/examples/15-shadowmaps-simple/shadowmaps_simple.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/3rdparty/bgfx/examples/15-shadowmaps-simple/shadowmaps_simple.cpp b/3rdparty/bgfx/examples/15-shadowmaps-simple/shadowmaps_simple.cpp index 10201030edb..274e5f40469 100644 --- a/3rdparty/bgfx/examples/15-shadowmaps-simple/shadowmaps_simple.cpp +++ b/3rdparty/bgfx/examples/15-shadowmaps-simple/shadowmaps_simple.cpp @@ -385,6 +385,7 @@ int _main_(int _argc, char** _argv) bgfx::destroyUniform(u_shadowMap); bgfx::destroyUniform(u_lightPos); bgfx::destroyUniform(u_lightMtx); + bgfx::destroyUniform(u_depthScaleOffset); // Shutdown bgfx. bgfx::shutdown(); |