From 37e8ec611dbb839ba0ea087b820788d8a387cd03 Mon Sep 17 00:00:00 2001 From: Nigel Stewart Date: Mon, 13 Jan 2014 18:58:43 -0600 Subject: [PATCH] Fixup: glewinfo on Mac needs to call RegalMakeCurrent with the appropriate context. --- auto/src/glewinfo_tail.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto/src/glewinfo_tail.c b/auto/src/glewinfo_tail.c index 84e7a2a..a2b184a 100644 --- a/auto/src/glewinfo_tail.c +++ b/auto/src/glewinfo_tail.c @@ -207,7 +207,7 @@ GLboolean glewCreateContext () if (GL_FALSE == aglSetCurrentContext(ctx)) return GL_TRUE; /* Needed for Regal on the Mac */ #if defined(GLEW_REGAL) && defined(__APPLE__) - RegalMakeCurrent(octx); + RegalMakeCurrent(ctx); #endif return GL_FALSE; }