PDA

View Full Version : glut Fonts and rastering



2
04-10-2001, 05:48 PM
Ok. I'm using glut to make a test prog, to make sure my math is right (because it's short and fast). Anyway, glut moves the raster pos over for each char it types. So naturally, I try to move it back after it finishes with a string. So call this...

GLfloat *f;
glGetFloatv( GL_CURRENT_RASTER_POSITION, f );
glRasterPos2f( -f[0], -f[1] );

But then, if I call another glGetFloatv on the raster pos, it never moved. I've been trying to fix this forever (about an hour now, and I'm pissed). Please help.