NSOpenGLContext for non-drawing purposes
How to create a system-independent NSOpenGLContext
in Cocoa, not开发者_如何学运维 for drawing, but for retrieving OpenGL information like vendor, version etc. ???
You create one the same way you would "for drawing," but after creating it, you get the information you want and then destroy it.
精彩评论