summaryrefslogtreecommitdiff
path: root/gfx/gl/shader.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2021-02-20 01:07:12 +0000
committerDan Goodliffe <dan@randomdan.homeip.net>2021-02-20 01:07:12 +0000
commit11dc98b4ffc22dedc019cf66fa81218a6adc179e (patch)
tree8a75825572218939adcc3138f36f66dce5c07c6a /gfx/gl/shader.h
parentRemove spare bits from shaders and tidy up (diff)
downloadilt-11dc98b4ffc22dedc019cf66fa81218a6adc179e.tar.bz2
ilt-11dc98b4ffc22dedc019cf66fa81218a6adc179e.tar.xz
ilt-11dc98b4ffc22dedc019cf66fa81218a6adc179e.zip
Pass a cppcheck
Diffstat (limited to 'gfx/gl/shader.h')
-rw-r--r--gfx/gl/shader.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gfx/gl/shader.h b/gfx/gl/shader.h
index 5d26781..47a2b7d 100644
--- a/gfx/gl/shader.h
+++ b/gfx/gl/shader.h
@@ -32,7 +32,7 @@ private:
class ProgramHandle {
public:
- ProgramHandle(std::initializer_list<GLuint>);
+ explicit ProgramHandle(std::initializer_list<GLuint>);
using ProgramRef = glRef<GLuint, __glewCreateProgram, __glewDeleteProgram>;
ProgramRef m_program;