summaryrefslogtreecommitdiff
path: root/gfx
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2022-11-12 11:37:52 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2022-11-14 23:46:14 +0000
commit34f671638f2070f7a53991134cf4145099eaf8c8 (patch)
tree79668c14fc87c22c856f8a8ef008a38511deef7e /gfx
parentExtract SDL_Application helper into libilt (diff)
downloadilt-34f671638f2070f7a53991134cf4145099eaf8c8.tar.bz2
ilt-34f671638f2070f7a53991134cf4145099eaf8c8.tar.xz
ilt-34f671638f2070f7a53991134cf4145099eaf8c8.zip
Fix type of SceneShader
Diffstat (limited to 'gfx')
-rw-r--r--gfx/gl/sceneShader.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gfx/gl/sceneShader.h b/gfx/gl/sceneShader.h
index a85e55b..2951e85 100644
--- a/gfx/gl/sceneShader.h
+++ b/gfx/gl/sceneShader.h
@@ -4,7 +4,7 @@
class Location;
-struct SceneShader {
+class SceneShader {
class SceneProgram : public Program {
public:
template<typename... S>
@@ -44,6 +44,7 @@ struct SceneShader {
RequiredUniformLocation waveLoc;
};
+public:
SceneShader();
BasicProgram basic;