summaryrefslogtreecommitdiff
path: root/indra/llrender/llvertexbuffer.h
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2011-02-22 18:36:50 -0600
committerDave Parks <davep@lindenlab.com>2011-02-22 18:36:50 -0600
commite55e91a5a546832b79643fdcd2208b5e4f62b6df (patch)
tree2b0fbc27be86c3db4c7866b78d150586b3e50fe7 /indra/llrender/llvertexbuffer.h
parentb53ffe4eae9700ad78f01cfec3458b5611330027 (diff)
SH-874 Better VBO usage hints, most notably don't use VBOs for occlusion queries if GL is set to not use VBOs for stream draw.
Diffstat (limited to 'indra/llrender/llvertexbuffer.h')
-rw-r--r--indra/llrender/llvertexbuffer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/llrender/llvertexbuffer.h b/indra/llrender/llvertexbuffer.h
index f40f013306..77c9da2d6c 100644
--- a/indra/llrender/llvertexbuffer.h
+++ b/indra/llrender/llvertexbuffer.h
@@ -92,6 +92,7 @@ public:
static S32 sWeight4Loc;
static BOOL sUseStreamDraw;
+ static BOOL sPreferStreamDraw;
static void initClass(bool use_vbo);
static void cleanupClass();