summaryrefslogtreecommitdiff
path: root/gfx/gl/sceneShader.h
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/gl/sceneShader.h')
-rw-r--r--gfx/gl/sceneShader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/gl/sceneShader.h b/gfx/gl/sceneShader.h
index 62df9bf..9db6ebf 100644
--- a/gfx/gl/sceneShader.h
+++ b/gfx/gl/sceneShader.h
@@ -9,7 +9,7 @@ class SceneShader {
class SceneProgram : public Program {
public:
template<typename... S>
- inline SceneProgram(const S &... srcs) :
+ inline explicit SceneProgram(const S &... srcs) :
Program {srcs...}, viewProjectionLoc {*this, "viewProjection"}, viewPortLoc {*this, "viewPort"}
{
}