diff options
Diffstat (limited to 'gfx/gl/uiShader.cpp')
-rw-r--r-- | gfx/gl/uiShader.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gfx/gl/uiShader.cpp b/gfx/gl/uiShader.cpp index bb9570e..23da9dc 100644 --- a/gfx/gl/uiShader.cpp +++ b/gfx/gl/uiShader.cpp @@ -10,10 +10,7 @@ UIShader::IconProgram::IconProgram(const glm::mat4 & vp) : UIProgram {vp, uiShader_vs, uiShader_fs} { } -UIShader::TextProgram::TextProgram(const glm::mat4 & vp) : - UIProgram {vp, uiShader_vs, uiShaderFont_fs}, colorLoc {*this, "colour"} -{ -} +UIShader::TextProgram::TextProgram(const glm::mat4 & vp) : UIProgram {vp, uiShader_vs, uiShaderFont_fs} { } UIShader::UIShader(size_t width, size_t height) : UIShader {glm::ortho<float>(0, static_cast<float>(width), 0, static_cast<float>(height))} |