mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-14 19:13:48 +00:00
Generate Sources of origin/master updated at Sat Jul 9 17:46:52 GMT 2016
This commit is contained in:
parent
a56fb7777e
commit
93ef744f23
@ -13669,7 +13669,8 @@ GLboolean glewCreateContext (struct createParams *params)
|
|||||||
i = 0;
|
i = 0;
|
||||||
contextAttrs[i++] = kCGLPFAAccelerated; /* No software rendering */
|
contextAttrs[i++] = kCGLPFAAccelerated; /* No software rendering */
|
||||||
|
|
||||||
#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_7
|
/* MAC_OS_X_VERSION_10_7 == 1070 */
|
||||||
|
#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1070
|
||||||
if (params->profile & GL_CONTEXT_CORE_PROFILE_BIT)
|
if (params->profile & GL_CONTEXT_CORE_PROFILE_BIT)
|
||||||
{
|
{
|
||||||
if (params->major==3 && params->minor>=2)
|
if (params->major==3 && params->minor>=2)
|
||||||
|
Loading…
Reference in New Issue
Block a user