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; }