From 6a3b098cf4201b8360824a398388f50d474184b4 Mon Sep 17 00:00:00 2001 From: Sven Panne Date: Sat, 28 Feb 2009 12:41:17 +0000 Subject: [PATCH] Position the distance message closer to the middle of the window, it has been far, far off to the upper right. git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@782 7f0cb862-5218-0410-a997-914c9d46530a --- progs/demos/Lorenz/lorenz.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/progs/demos/Lorenz/lorenz.c b/progs/demos/Lorenz/lorenz.c index 93ed843..5c05c8d 100644 --- a/progs/demos/Lorenz/lorenz.c +++ b/progs/demos/Lorenz/lorenz.c @@ -268,7 +268,7 @@ void display_cb ( void ) /* Print the distance between the two points */ glColor3d ( 1.0, 1.0, 1.0 ) ; /* White */ sprintf ( string, "Distance: %10.6f", distance ) ; - glRasterPos2i ( 10, 10 ) ; + glRasterPos2i ( 1, 1 ) ; glutBitmapString ( GLUT_BITMAP_HELVETICA_12, (unsigned char*)string ) ; glutSwapBuffers(); -- 1.7.10.4