mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2025-03-23 17:16:45 +00:00
Merge https://github.com/nigels-com/glew.git into master HEAD at Sat Jul 9 17:44:22 GMT 2016
This commit is contained in:
commit
a56fb7777e
@ -8,6 +8,7 @@ https://github.com/nigels-com/glew
|
|||||||
|
|
||||||
[](https://travis-ci.org/nigels-com/glew)
|
[](https://travis-ci.org/nigels-com/glew)
|
||||||
[](https://gitter.im/nigels-com/glew?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
|
[](https://gitter.im/nigels-com/glew?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
|
||||||
|
[](https://sourceforge.net/projects/glew/files/latest/download)
|
||||||
|
|
||||||
## Downloads
|
## Downloads
|
||||||
|
|
||||||
|
@ -430,7 +430,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