]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/cocoa/glcanvas.mm
Use the app name, not display name, as debug report name,
[wxWidgets.git] / src / osx / cocoa / glcanvas.mm
index 83c99ce833f7778d1ac7b66bd9fbf8287ce8c455..f07fc0f64a39235d27f62fd8d4dacfdd8f08516b 100644 (file)
@@ -61,6 +61,13 @@ WXGLContext WXGLGetCurrentContext()
     return [NSOpenGLContext currentContext];
 }
 
+bool WXGLSetCurrentContext(WXGLContext context)
+{
+    [context makeCurrentContext];
+
+    return true;
+}
+
 void WXGLDestroyPixelFormat( WXGLPixelFormat pixelFormat )
 {
     if ( pixelFormat )