projects
/
freeglut
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f90c4ef
)
Position the distance message closer to the middle of the window, it
author
Sven Panne
<sven.panne@aedion.de>
Sat, 28 Feb 2009 12:41:17 +0000
(12:41 +0000)
committer
Sven Panne
<sven.panne@aedion.de>
Sat, 28 Feb 2009 12:41:17 +0000
(12:41 +0000)
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
patch
|
blob
|
history
diff --git
a/progs/demos/Lorenz/lorenz.c
b/progs/demos/Lorenz/lorenz.c
index
93ed843
..
5c05c8d
100644
(file)
--- 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();