From 9c6989a59e8948f08d13bf1ddfd1d4c1d30e9c2b Mon Sep 17 00:00:00 2001 From: Nigel Stewart Date: Sat, 9 Jul 2016 14:06:26 +1000 Subject: [PATCH 1/2] Add sourceforge download badge to README --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 1f74d6e..9acf5e3 100644 --- a/README.md +++ b/README.md @@ -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) [![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 From 26d8275c61cb699a517feef0dcaa89d029452cca Mon Sep 17 00:00:00 2001 From: Nigel Stewart Date: Sat, 9 Jul 2016 14:23:57 +1000 Subject: [PATCH 2/2] Sourceforge Patch #67 Fix build failure on OS X < 10.7 --- auto/src/glewinfo_tail.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/auto/src/glewinfo_tail.c b/auto/src/glewinfo_tail.c index 30f25fd..f8b292a 100644 --- a/auto/src/glewinfo_tail.c +++ b/auto/src/glewinfo_tail.c @@ -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)