From a8eaeece3da1d5191529aa77dee1ee6ee01f7583 Mon Sep 17 00:00:00 2001 From: meancoot Date: Thu, 28 Mar 2013 20:23:30 -0400 Subject: [PATCH] (OSX) Build fix for gfx/gl.c --- gfx/gl.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gfx/gl.c b/gfx/gl.c index c647755ce9..20a8fa5d82 100644 --- a/gfx/gl.c +++ b/gfx/gl.c @@ -211,6 +211,10 @@ static inline bool load_gl_proc_win32(gl_t *gl) #define pglUnmapBuffer glUnmapBuffer #endif +#ifdef __APPLE__ +#define GL_RGBA32F GL_RGBA32F_ARB +#endif + ////////////////// Shaders #ifdef HAVE_OPENGLES2