I\'m writing an application that needs to use OpenGL, on the Mac, in C++.
Is there anyway I can get Cocoa to just give me an OpenGL context and let me do my work in C++?
Look into NSOpenGLView. In drawRect: in your subclass, you can access the view's context and call your OpenGL code.
drawRect: