mirror of
https://github.com/nigels-com/glew.git
synced 2024-11-25 23:31:56 +00:00
Sourceforge Patch #67 Fix build failure on OS X < 10.7
This commit is contained in:
parent
9c6989a59e
commit
26d8275c61
@ -430,7 +430,8 @@ GLboolean glewCreateContext (struct createParams *params)
|
||||
i = 0;
|
||||
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->major==3 && params->minor>=2)
|
||||
|
Loading…
Reference in New Issue
Block a user