Fixup: glewinfo on Mac needs to call RegalMakeCurrent with the appropriate context.

This commit is contained in:
Nigel Stewart 2014-01-13 18:58:43 -06:00
parent 09680d9129
commit 37e8ec611d

View File

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