change the axis Y. From "bottom left" to "top left"? Tried glScalef (1.f,-1.f, 1.f); But it turns everything upside down. How to make a glRectf (0,0,200,200); draw in the upper left corner instead of the bottom left?
Given
width
and height
of the viewport, gluOrtho2D(0, width, 0, height)
, glRectf(0, height, 200, height-200)
creates the desired output.