summaryrefslogtreecommitdiff
path: root/gfx/gl/program.h
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/gl/program.h')
-rw-r--r--gfx/gl/program.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/gl/program.h b/gfx/gl/program.h
index eb10888..fd9edbf 100644
--- a/gfx/gl/program.h
+++ b/gfx/gl/program.h
@@ -10,7 +10,7 @@ class Location;
using ProgramRef = glRef<GLuint, &glCreateProgram, &glDeleteProgram>;
class Program {
public:
- template<typename... S> Program(const S &... srcs)
+ template<typename... S> explicit Program(const S &... srcs)
{
(glAttachShader(m_program, srcs.compile()), ...);
linkAndValidate();