summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
0f15fc8)
git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1459
7f0cb862-5218-0410-a997-
914c9d46530a
glPushMatrix ();
glLoadIdentity ();
glColor3ub ( 0, 0, 0 );
glPushMatrix ();
glLoadIdentity ();
glColor3ub ( 0, 0, 0 );
- glRasterPos2i ( 10, glutGet ( GLUT_WINDOW_HEIGHT ) - 10 );
+ glRasterPos2i ( 10, glutGet ( GLUT_WINDOW_HEIGHT ) - 20 ); /* 10pt margin above 10pt letters */
reshape_width = width ;
reshape_height = height ;
reshape_seq = sequence_number ;
reshape_width = width ;
reshape_height = height ;
reshape_seq = sequence_number ;
+ glViewport(0,0,width,height);