OpenGL on OS X

Lör 16 Maj 2009

I've been doing some past time OpenGL programming on my MacBook. The nVidia 9400M it's equipped with has maybe not best performance but a fair number of capabilities. One of the biggest problems I've encountered was an subtle but critical behavior in the OS X OpenGL implementation. On OS X the OpenGL stack is not initialized correctly before the application window has been created, causing all calls to OpenGL functions cause EXC_BAD_ACCESS exception. I found the solution on this excellent forum!

Other than that everything has worked as expected. As I'm used to DirectX from my work it takes a bit of rethinking. At least I have shader system in place. Importing meshes and textures is another story though.

on the top