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

This commit is contained in:
Matthew Waters 2015-01-23 14:18:12 +11:00 committed by Tim-Philipp Müller
parent 019367c128
commit 07d41de7c4

View file

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