mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-11 09:33:49 +00:00
Fixup: glewinfo on Mac needs to call RegalMakeCurrent with the appropriate context.
This commit is contained in:
parent
09680d9129
commit
37e8ec611d
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user