gl/qt/examples: update for NSOpenGL -> CGL change
This commit is contained in:
parent
ab48bb6f0f
commit
bf87ac8cbe
@ -22,5 +22,5 @@
|
||||
#import <Cocoa/Cocoa.h>
|
||||
void *qt_current_nsopengl_context()
|
||||
{
|
||||
return [NSOpenGLContext currentContext];
|
||||
return CGLGetCurrentContext ();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user