mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-25 23:31:56 +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