diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-02-20 01:07:12 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2021-02-20 01:07:12 +0000 |
commit | 11dc98b4ffc22dedc019cf66fa81218a6adc179e (patch) | |
tree | 8a75825572218939adcc3138f36f66dce5c07c6a /gfx/gl/shader.cpp | |
parent | Remove spare bits from shaders and tidy up (diff) | |
download | ilt-11dc98b4ffc22dedc019cf66fa81218a6adc179e.tar.bz2 ilt-11dc98b4ffc22dedc019cf66fa81218a6adc179e.tar.xz ilt-11dc98b4ffc22dedc019cf66fa81218a6adc179e.zip |
Pass a cppcheck
Diffstat (limited to 'gfx/gl/shader.cpp')
-rw-r--r-- | gfx/gl/shader.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gfx/gl/shader.cpp b/gfx/gl/shader.cpp index 454ad4b..f80ab22 100644 --- a/gfx/gl/shader.cpp +++ b/gfx/gl/shader.cpp @@ -31,15 +31,15 @@ Shader::ProgramHandle::ProgramHandle(std::initializer_list<GLuint> srcs) : viewP }
Shader::Shader() :
- programs {{{
+ programs {{ProgramHandle {
Source {{basicShader_vs, basicShader_vs_len}, GL_VERTEX_SHADER}.id,
Source {{basicShader_fs, basicShader_fs_len}, GL_FRAGMENT_SHADER}.id,
},
- {
+ ProgramHandle {
Source {{waterShader_vs, waterShader_vs_len}, GL_VERTEX_SHADER}.id,
Source {{waterShader_fs, waterShader_fs_len}, GL_FRAGMENT_SHADER}.id,
},
- {
+ ProgramHandle {
Source {{landmassShader_vs, landmassShader_vs_len}, GL_VERTEX_SHADER}.id,
Source {{landmassShader_fs, landmassShader_fs_len}, GL_FRAGMENT_SHADER}.id,
}}}
|