diff options
author | Aura Linden <aura@lindenlab.com> | 2012-06-04 12:15:08 -0700 |
---|---|---|
committer | Aura Linden <aura@lindenlab.com> | 2012-06-04 12:15:08 -0700 |
commit | 0fd3ff972d97886ce227424c6c7039e2cc203890 (patch) | |
tree | c9659cf472775f1d0355b9b98e5eeb398b7722b7 | |
parent | 3361b5e9e2e5400e31fcb1bcc8066bf4ee3b7eaf (diff) |
MAINT-1142 use VBO pooling on OSX
-rw-r--r-- | indra/llrender/llvertexbuffer.cpp | 4 |
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 |