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

This commit is contained in:
Matthew Waters 2015-01-23 14:18:12 +11:00
parent ab48bb6f0f
commit bf87ac8cbe

View file

@ -22,5 +22,5 @@
#import <Cocoa/Cocoa.h>
void *qt_current_nsopengl_context()
{
return [NSOpenGLContext currentContext];
return CGLGetCurrentContext ();
}