Commit bf87ac8c authored by Matthew Waters's avatar Matthew Waters 🐨

gl/qt/examples: update for NSOpenGL -> CGL change

parent ab48bb6f
......@@ -22,5 +22,5 @@
#import <Cocoa/Cocoa.h>
void *qt_current_nsopengl_context()
{
return [NSOpenGLContext currentContext];
return CGLGetCurrentContext ();
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment