PDA

View Full Version : glut



08-31-2000, 05:46 AM
hit there, I'm new to OpenGL programming on the mac & have succesfully set up contexts/windows etc. using agl. I'm now experimenting with glut, but have been unable to succesfully run any code. I've tried the examples with the sdk but glutInit always fails to initialise a window. Could anyone give me some pointers? thanks in advance for your help ;-)

enrique
08-31-2000, 05:38 PM
Ha, I guess you haven't put the resource file into project, the name is like "*.rsrc" in the OpenGL SDK 's resource folder.
CodeWarrior won't report any error if you don't put this file into, but glutInit will never succeed.