PDA

View Full Version : inline code draws, function call doesn't



godofskies8
11-20-2004, 04:34 AM
Hi,

I am stuck due to a very weird bug in my code. If I inline my drawing code, everything works. As soon as I put that code in a function call, i get a blank screen. Is there any relation betwen OpenGl matrices and C++ scope rules?

Thanks

MikeC
11-20-2004, 09:46 AM
Nope; GL state isn't affected by C++ scope. If you post the codesnippet/function that's behaving oddly we'll try and help. (Please use UBB code tags; it makes code much easier to read.)

cheers,
Mike