From 5b525852b49f0e4d339f8e1122b52182dee19169 Mon Sep 17 00:00:00 2001 From: Simon Robertshaw Date: Tue, 12 Jul 2016 22:34:31 +0100 Subject: [PATCH] More OS X compatibility fixes with OpenGL --- src/graphics/OpenGLHeaders.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/graphics/OpenGLHeaders.h b/src/graphics/OpenGLHeaders.h index 258971bff..40937a414 100644 --- a/src/graphics/OpenGLHeaders.h +++ b/src/graphics/OpenGLHeaders.h @@ -2,6 +2,9 @@ #if __MAC_OS_X_VERSION_MAX_ALLOWED >= __MAC_OS_X_VERSION_10_9 #include +#ifndef GL_RGBA32F +#define GL_RGBA32F GL_RGBA32F_ARB +#endif #elif __MAC_OS_X_VERSION_MAX_ALLOWED >= 1070 #include #include