diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-08-26 13:55:32 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-08-26 13:59:57 +0100 |
commit | 10e0fee323e6277ba73ee1fc148417882bc381c3 (patch) | |
tree | 86d83581b6b39d3a5f2f11a420d35440106d41e5 /gfx/gl/shadowStenciller.h | |
parent | Add a foliage vertex array for just the location data (diff) | |
download | ilt-10e0fee323e6277ba73ee1fc148417882bc381c3.tar.bz2 ilt-10e0fee323e6277ba73ee1fc148417882bc381c3.tar.xz ilt-10e0fee323e6277ba73ee1fc148417882bc381c3.zip |
Add helper to test if a uniform was found
Diffstat (limited to 'gfx/gl/shadowStenciller.h')
-rw-r--r-- | gfx/gl/shadowStenciller.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/gl/shadowStenciller.h b/gfx/gl/shadowStenciller.h index 009285c..925f82a 100644 --- a/gfx/gl/shadowStenciller.h +++ b/gfx/gl/shadowStenciller.h @@ -17,7 +17,7 @@ public: private: glFrameBuffer fbo; Program shadowCaster; - Program::UniformLocation viewProjectionLoc {shadowCaster, "viewProjection"}; + Program::RequiredUniformLocation viewProjectionLoc {shadowCaster, "viewProjection"}; glm::mat4 lightDirMat {}; }; |