Cleaned up some shader code.

--HG--
branch : minor
This commit is contained in:
Alex Szpakowski
2015-03-02 15:18:12 -04:00
parent 3536f2665f
commit 3fea174008
8 changed files with 52 additions and 80 deletions
+1 -1
View File
@@ -389,7 +389,7 @@ void Canvas::setupGrab()
// bind the framebuffer object.
gl.bindFramebuffer(GL_FRAMEBUFFER, fbo);
gl.setViewport(OpenGL::Viewport(0, 0, width, height));
gl.setViewport({0, 0, width, height});
// Set up the projection matrix
gl.matrices.projection.push_back(Matrix::ortho(0.0, width, 0.0, height));