Original Post
i''m having trouble with glRasterPos(). I''m trying to render text (font created with wglUseFontBitmaps) in ortho mode. I used glRasterPos to position the text. I didn''t see the font, so i checked if the raster position was loadad correctly, kinda like this:
float f[4];
glRasterPos4f(0.0f, 0.0f, 0.0f, 1.0f);
glGetFloatv(GL_CURRENT_RASTER_POSITION, f);
The problem is: f[1] contains 600.0f. The msdn documentation to glRasterPos says the function only fails if it is located between glBegin/glEnd, but in my case, it isnt.
Does anyone know what the problem could be? Thanks in advance