PDA

View Full Version : aglFullScreen



G4Soon
06-18-2001, 02:55 PM
How do I use this function properly?

I've looked all through the source and documentation in Apple's OpenGL SDK, and there is no adequate explanation on how to use aglFullScreen.

help!

tdavie
06-20-2001, 02:05 AM
It's quite a complicated function to use propperly, you have to do all sorts of setting up and other crap. Take a look a 'SetupGL' on developer.apple.com to get a load of free source. I seem to remember that it doesn't quite work straight away, but it's easy enough to hack together something that works on all computers. Also note that if you don't have a graphics card (older PowerPCs) it wont run, I managed to hack together a version that recognises if there is a graphics card available, and uses it if possible, but it's not on this computer so I can't post it. Sorry, it was only a simple comment out one line if I remember correctly though.