Thu, 11 Jan 2018 22:22:45 +0200
things #2
src/glrenderer.cpp | file | annotate | diff | comparison | revisions |
--- a/src/glrenderer.cpp Thu Jan 11 22:21:50 2018 +0200 +++ b/src/glrenderer.cpp Thu Jan 11 22:22:45 2018 +0200 @@ -413,13 +413,8 @@ { glMatrixMode (GL_PROJECTION); glPushMatrix(); - glLoadIdentity(); - const QSizeF& virtualSize = currentCamera().virtualSize(); - glOrtho(-virtualSize.width(), virtualSize.width(), -virtualSize.height(), virtualSize.height(), -1000.0f, 1000.0f); - glTranslatef(panning (X), panning (Y), 0.0f); - glMultMatrixf(currentCamera().transformationMatrix()); - glMultMatrixf(ldrawToGLAdapterMatrix); + glMultMatrixf(currentCamera().realMatrix()); drawFixedCameraBackdrop(); } else