summaryrefslogtreecommitdiff
path: root/indra/llrender
diff options
context:
space:
mode:
authorAura Linden <aura@lindenlab.com>2012-06-04 12:15:08 -0700
committerAura Linden <aura@lindenlab.com>2012-06-04 12:15:08 -0700
commit0fd3ff972d97886ce227424c6c7039e2cc203890 (patch)
treec9659cf472775f1d0355b9b98e5eeb398b7722b7 /indra/llrender
parent3361b5e9e2e5400e31fcb1bcc8066bf4ee3b7eaf (diff)
MAINT-1142 use VBO pooling on OSX
Diffstat (limited to 'indra/llrender')
-rw-r--r--indra/llrender/llvertexbuffer.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/llrender/llvertexbuffer.cpp b/indra/llrender/llvertexbuffer.cpp
index b4899209c4..823c6b9dc5 100644
--- a/indra/llrender/llvertexbuffer.cpp
+++ b/indra/llrender/llvertexbuffer.cpp
@@ -38,7 +38,11 @@
#include "llglslshader.h"
#include "llmemory.h"
+#if LL_DARWIN
+#define LL_VBO_POOLING 1
+#else
#define LL_VBO_POOLING 0
+#endif
//Next Highest Power Of Two
//helper function, returns first number > v that is a power of 2, or v if v is already a power of 2