From 1a2373a564853a37ed5fceac044c1696cf4d7469 Mon Sep 17 00:00:00 2001 From: Nicky Date: Tue, 9 May 2017 12:01:07 +0200 Subject: [PATCH] Quick fix for OSX to be able to compile a version. --- indra/llrender/llglheaders.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/indra/llrender/llglheaders.h b/indra/llrender/llglheaders.h index 722dd9050b..c3f65df7ef 100644 --- a/indra/llrender/llglheaders.h +++ b/indra/llrender/llglheaders.h @@ -813,6 +813,12 @@ extern PFNGLGETDEBUGMESSAGELOGARBPROC glGetDebugMessageLogARB; // Note that they also must not be called on 10.3.9. This should be taken care of by a runtime check for the existence of the GL extension. #include +// Workaround to get a OSX version to compile (until someone with a Mac makes including gl3.h work) +#ifndef GL_TEXTURE_RECTANGLE + #define GL_TEXTURE_RECTANGLE GL_TEXTURE_RECTANGLE_ARB +#endif +// + //GL_EXT_blend_func_separate extern void glBlendFuncSeparateEXT(GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) ;