diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-07-07 23:21:25 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-07-07 23:21:25 +0100 |
commit | 07064efcfecb0f1140f829ee2481079fa02cc587 (patch) | |
tree | ad9914fc74c46cacbfb6a1187ce99cb89171521a /gfx/gl/uiShader.h | |
parent | Add shadow shader which takes into account texture transparency (diff) | |
download | ilt-07064efcfecb0f1140f829ee2481079fa02cc587.tar.bz2 ilt-07064efcfecb0f1140f829ee2481079fa02cc587.tar.xz ilt-07064efcfecb0f1140f829ee2481079fa02cc587.zip |
Simplify setup of uniform locations and containing programs
Diffstat (limited to 'gfx/gl/uiShader.h')
-rw-r--r-- | gfx/gl/uiShader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/gl/uiShader.h b/gfx/gl/uiShader.h index 99c5e17..6d00166 100644 --- a/gfx/gl/uiShader.h +++ b/gfx/gl/uiShader.h @@ -38,7 +38,7 @@ private: void use(const RGB & colour) const; private: - RequiredUniformLocation colorLoc; + RequiredUniformLocation colorLoc {*this, "colour"}; }; public: |