mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-26 08: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;
|
if (GL_FALSE == aglSetCurrentContext(ctx)) return GL_TRUE;
|
||||||
/* Needed for Regal on the Mac */
|
/* Needed for Regal on the Mac */
|
||||||
#if defined(GLEW_REGAL) && defined(__APPLE__)
|
#if defined(GLEW_REGAL) && defined(__APPLE__)
|
||||||
RegalMakeCurrent(octx);
|
RegalMakeCurrent(ctx);
|
||||||
#endif
|
#endif
|
||||||
return GL_FALSE;
|
return GL_FALSE;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user