summaryrefslogtreecommitdiff
path: root/indra/llrender/llrender.cpp
diff options
context:
space:
mode:
authorErik Kundiman <erik@megapahit.org>2023-09-07 21:12:38 +0800
committerErik Kundiman <erik@megapahit.org>2023-09-07 21:12:38 +0800
commitd0b773094d5a3129f5b6db7d9de0da41791b2852 (patch)
tree39f105213ba151355bdb19f54f39a008091be463 /indra/llrender/llrender.cpp
parent3da53b180139d2a79811c1ed7384beaad3a86a48 (diff)
Revert "Bring back GL funcs & macros that work on macOS"
This reverts commit e600f6504cd7edd9d2883ea7dc17c2574b1ff468.
Diffstat (limited to 'indra/llrender/llrender.cpp')
-rw-r--r--indra/llrender/llrender.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/indra/llrender/llrender.cpp b/indra/llrender/llrender.cpp
index 91ce983e5a..89de6b93ea 100644
--- a/indra/llrender/llrender.cpp
+++ b/indra/llrender/llrender.cpp
@@ -906,13 +906,9 @@ void LLRender::init(bool needs_vertex_buffer)
{ //bind a dummy vertex array object so we're core profile compliant
//#ifdef GL_ARB_vertex_array_object
U32 ret;
-#if GL_APPLE_vertex_array_object
- glGenVertexArraysAPPLE(1, &ret);
- glBindVertexArrayAPPLE(ret);
-#else
glGenVertexArrays(1, &ret);
glBindVertexArray(ret);
-#endif
+//#endif
}
if (needs_vertex_buffer)