diff options
author | Dave Parks <davep@lindenlab.com> | 2011-02-22 18:36:50 -0600 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2011-02-22 18:36:50 -0600 |
commit | e55e91a5a546832b79643fdcd2208b5e4f62b6df (patch) | |
tree | 2b0fbc27be86c3db4c7866b78d150586b3e50fe7 /indra/newview/llvowater.cpp | |
parent | b53ffe4eae9700ad78f01cfec3458b5611330027 (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/newview/llvowater.cpp')
-rw-r--r-- | indra/newview/llvowater.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llvowater.cpp b/indra/newview/llvowater.cpp index 9f3ec9cadc..77875859e9 100644 --- a/indra/newview/llvowater.cpp +++ b/indra/newview/llvowater.cpp @@ -289,7 +289,7 @@ U32 LLVOVoidWater::getPartitionType() const } LLWaterPartition::LLWaterPartition() -: LLSpatialPartition(0, FALSE, 0) +: LLSpatialPartition(0, FALSE, GL_DYNAMIC_DRAW_ARB) { mInfiniteFarClip = TRUE; mDrawableType = LLPipeline::RENDER_TYPE_WATER; |