OpenGL and Carbon

hello, thank you onesadcookie for your help, i haven’t gotten OpenGL to work with CFM, it says the header files couldn’t be opened, but the Mach - O works fine, and i’m happy with that.

i have another question though, i’ve been using GLUT for windows and events, but i’d rather use Carbon. I have a carbon window there on the screen, and i’ve entered the first sample code from the redbook, just drawing the white square, but it says the application unexpectedly quit. i tried debugging it and it says like a fault error and shows me where in the machin code it screwed up. i don’t know what to do, any help would be greatly appreciated.

-nick
ffoti@comcast.net

You need to create an AGL context.

There’s a very simple AGL setup in QTValuePak: http://203.79.121.211/CVS/

Again, I suggest asking questions like these on the iDevGames.com forums, there is a much larger and more knowledgeable community there than here.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.