things #2

Thu, 11 Jan 2018 22:22:45 +0200

author
Santeri Piippo
date
Thu, 11 Jan 2018 22:22:45 +0200
changeset 1255
e7d2d1af7e91
parent 1254
73097a86e8dc
child 1362
9a5da3e469e2

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

mercurial