diff options
Diffstat (limited to 'MainWindow.cpp')
-rw-r--r-- | MainWindow.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/MainWindow.cpp b/MainWindow.cpp index 5abdc3d..bafcf7c 100644 --- a/MainWindow.cpp +++ b/MainWindow.cpp @@ -53,10 +53,10 @@ void MainWindow::drawString(GLfloat x, GLfloat y, char *text, uint color, TextAl hex2fColor(color, red, green, blue); - glLineWidth(3.0); - glPushMatrix(); - glTranslatef(x, y, 0); - glScalef(0.001, 0.001, 0.00); + glLineWidth(3.0); + glPushMatrix(); + glTranslatef(x, y, 0); + glScalef(0.001, 0.001, 0.00); if (align) glTranslatef( ((float) align / 2) * glutStrokeLength(GLUT_STROKE_MONO_ROMAN, (const unsigned char *) text), 0, 0); glColor3f(red, green, blue); |