Commit 26d8275c authored by Nigel Stewart's avatar Nigel Stewart

Sourceforge Patch #67 Fix build failure on OS X < 10.7

parent 9c6989a5
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment