src/glRenderer.cpp

changeset 1223
4f8fa42aed07
parent 1222
34def2630300
child 1224
5a31b6d4bf81
--- a/src/glRenderer.cpp	Thu Jan 04 21:41:17 2018 +0200
+++ b/src/glRenderer.cpp	Thu Jan 04 22:42:01 2018 +0200
@@ -559,8 +559,8 @@
 	cx *= negXFac;
 	cy *= negYFac;
 
-	RoundToDecimals(cx, 4);
-	RoundToDecimals(cy, 4);
+	cx = RoundToDecimals(cx, 4);
+	cy = RoundToDecimals(cy, 4);
 
 	// Create the vertex from the coordinates
 	pos3d.setCoordinate(axisX, cx);

mercurial