Hi,
In my application I call gl_draw to draw text. Sometimes the text is outside the view.
The text is the written after the last written text inside the view.
A test, if the raster position is inside the would fix this:
glRasterPos3f(x, y, z);
GLboolean b;
glGetBooleanv(GL_CURRENT_RASTER_POSITION_VALID, &b);
if (b==GL_TRUE)
gl_draw(str, n);
Would it be an idea to include this to the library ?
Best regards
Håvard