summaryrefslogtreecommitdiff
path: root/indra/llrender/llvertexbuffer.cpp
diff options
context:
space:
mode:
authorKelly Washington <kelly@lindenlab.com>2012-10-25 16:13:39 -0700
committerKelly Washington <kelly@lindenlab.com>2012-10-25 16:13:39 -0700
commit0cdff2817bdc342e0ac8b3c8711e3f7a72f1f617 (patch)
tree0fbaca9292450f05588336eb6639b12d182156e1 /indra/llrender/llvertexbuffer.cpp
parent03fa24f8aecc071bac920a400c122cbce0b029b4 (diff)
parent1743e6a81330824021667000f8acdd6cf64dbf1b (diff)
Merge
Diffstat (limited to 'indra/llrender/llvertexbuffer.cpp')
-rw-r--r--indra/llrender/llvertexbuffer.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/indra/llrender/llvertexbuffer.cpp b/indra/llrender/llvertexbuffer.cpp
index 28a14b23b9..80752231d7 100644
--- a/indra/llrender/llvertexbuffer.cpp
+++ b/indra/llrender/llvertexbuffer.cpp
@@ -38,6 +38,10 @@
#include "llglslshader.h"
#include "llmemory.h"
+#if LL_DARWIN
+#define LL_VBO_POOLING 1
+#else
+#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
U32 nhpo2(U32 v)
@@ -290,8 +294,6 @@ void LLVBOPool::seedPool()
}
-
-
void LLVBOPool::cleanup()
{
U32 size = LL_VBO_BLOCK_SIZE;