Wrapper for OpenGL in Cocoa applications