summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2023-09-07 21:11:07 +0800
committerErik Kundiman <erik@megapahit.org>2023-09-07 21:11:07 +0800
commit3da53b180139d2a79811c1ed7384beaad3a86a48 (patch)
treee581642f980d9e554786fe77cebd8a53d2dfb529
parente600f6504cd7edd9d2883ea7dc17c2574b1ff468 (diff)
Bring back OpenGL >= 3.0 functionalities to macOS
They weren't compiled with the previous commit, and it affected a lot.
-rw-r--r--indra/llrender/llglheaders.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/llrender/llglheaders.h b/indra/llrender/llglheaders.h
index 3596223a93..4a0c76760b 100644
--- a/indra/llrender/llglheaders.h
+++ b/indra/llrender/llglheaders.h
@@ -573,6 +573,9 @@ extern PFNGLGETDEBUGMESSAGELOGARBPROC glGetDebugMessageLogARB;
#define GL_EXT_separate_specular_color 1
#include <OpenGL/glext.h>
+#define GL_DO_NOT_WARN_IF_MULTI_GL_VERSION_HEADERS_INCLUDED
+#include <OpenGL/gl3.h>
+
#include "GL/glh_extensions.h"
/*