summaryrefslogtreecommitdiff
path: root/vcl/opengl
diff options
context:
space:
mode:
Diffstat (limited to 'vcl/opengl')
-rw-r--r--vcl/opengl/program.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/vcl/opengl/program.cxx b/vcl/opengl/program.cxx
index 0dab8b02e1f6..c3e32e627044 100644
--- a/vcl/opengl/program.cxx
+++ b/vcl/opengl/program.cxx
@@ -344,8 +344,7 @@ void OpenGLProgram::ApplyMatrix(float fWidth, float fHeight, float fPixelOffset)
mfLastHeight = fHeight;
mfLastPixelOffset = fPixelOffset;
- OString sProjectionMatrix("mvp");
- GLuint nUniform = GetUniformLocation(sProjectionMatrix);
+ GLuint nUniform = GetUniformLocation("mvp");
glm::mat4 aMVP = glm::ortho(0.0f, fWidth, fHeight, 0.0f, 0.0f, 1.0f);