Cocoa OpenGL bug - I can't find it

Member
Posts: 312
Joined: 2006.10
Post: #1
Hey, I been trying to find a bug in my program all day, but I just *can't*. I've looked through the code to find any problems a billion times. It's just a demo for rendering a 3D cube to a texture. I'm pretty sure the problem is with the OpenGL code, but I could be wrong.

If you guys could take a look at it, I would hugely appreciate it!
Thanks,
Jedd

Download: http://www.mediafire.com/?7wwiuj2ejjk
Libpng + pic: http://www.mediafire.com/?75zlimm2lhn

Btw, you'll need to change the file path to .png in the initGL method.

Edit - I fixed it! Thanks to everyone who tried to help me on IRC Grin
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Opengl/Cocoa text rendering tesil 15 17,112 Mar 20, 2012 11:16 AM
Last Post: OneSadCookie
  OpenGL Text Rendering (in Cocoa) daveh84 5 7,798 Feb 19, 2009 12:44 PM
Last Post: TomorrowPlusX
  OpenGL & Cocoa - Improving frame rate daveh84 4 5,489 Feb 2, 2009 06:53 AM
Last Post: backslash
  bad depth sorting in Cocoa OpenGL aldermoore 2 4,594 Dec 30, 2008 03:07 PM
Last Post: ThemsAllTook
  Loading and using textures with alpha in OpenGL with Cocoa corporatenewt 4 6,202 Dec 8, 2007 02:06 PM
Last Post: Malarkey