As a demo, I did this:
GLenum error; int rasterpos; glRasterPos2i(10,20); glGetIntegerv(GL_CURRENT_RASTER_POSITION, rasterpos); cout << "raster pos x: " << rasterpos << " y: " << rasterpos << endl; error = glGetError(); cout << gluErrorString(error) << endl;
I expected 10, 20 to be the rasterpos (as I just set it!) but it tells me 0,0. It also says “no error” - that was the only thing I knew to check.
Anyone know what’s wrong?