PDA

View Full Version : glRect call failing



laf
03-12-2002, 03:04 AM
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.

Any idea.

Thanks.

Iván

henryj
03-16-2002, 06:11 PM
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