src/glrenderer.cpp

changeset 1405
d2bf2e59a3ef
parent 1404
16eb4257e662
child 1428
ece049033adc
--- a/src/glrenderer.cpp	Sun Jun 17 13:57:00 2018 +0300
+++ b/src/glrenderer.cpp	Sun Jun 17 14:06:03 2018 +0300
@@ -407,7 +407,7 @@
 		glTranslatef(0.0f, 0.0f, -2.0f);
 		glTranslatef(panning (X), panning (Y), -zoom());
 		glMultMatrixf(padMatrix(m_rotation.toRotationMatrix()).constData());
-		glTranslatef(-this->m_compiler->modelCenter());
+		xyz(glTranslatef, -m_compiler->modelCenter());
 	}
 
 	glEnableClientState (GL_NORMAL_ARRAY);

mercurial