I’m trying to write a screensaver. I have donwnloaded some examples. And the first thing I have done is to try to draw a Rectangle. But to my surprise, it isn’t shown. the clear routine works, a example function that I have downloaded works but the glRect directive does not.
the possiblities are endless…
what colour are you drawing the rect, same as the background?
are you looking in the right direction?
is your rect really small?
is it really big?
is your eye point and the rect both at 0,0,0?
is the rect outside your clipping planes?
etc