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:
omniavinco 2016-07-10 02:44:22 +09:00
commit a56fb7777e
2 changed files with 3 additions and 1 deletions

View File

@ -8,6 +8,7 @@ https://github.com/nigels-com/glew
[![Build Status](https://travis-ci.org/nigels-com/glew.svg?branch=master)](https://travis-ci.org/nigels-com/glew) [![Build Status](https://travis-ci.org/nigels-com/glew.svg?branch=master)](https://travis-ci.org/nigels-com/glew)
[![Gitter](https://badges.gitter.im/nigels-com/glew.svg)](https://gitter.im/nigels-com/glew?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) [![Gitter](https://badges.gitter.im/nigels-com/glew.svg)](https://gitter.im/nigels-com/glew?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
[![Download](https://img.shields.io/sourceforge/dm/glew.svg)](https://sourceforge.net/projects/glew/files/latest/download)
## Downloads ## Downloads

View File

@ -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)