diff options
| author | Dave Parks <davep@lindenlab.com> | 2011-09-23 02:29:53 -0500 |
|---|---|---|
| committer | Dave Parks <davep@lindenlab.com> | 2011-09-23 02:29:53 -0500 |
| commit | b9926e8f57787eb146b06260cc3d0260e34330ce (patch) | |
| tree | 2f646a86a6e1b074a07ae97284c9f164d824d80f /indra/newview/llvoground.cpp | |
| parent | d3f614e2e971fd442660ba6c1645830d3bf0b6cf (diff) | |
SH-2244 Better VAO support -- still slower than non-VAO implementation for some reason
Diffstat (limited to 'indra/newview/llvoground.cpp')
| -rw-r--r-- | indra/newview/llvoground.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llvoground.cpp b/indra/newview/llvoground.cpp index ce256fdedf..0060f81ab5 100644 --- a/indra/newview/llvoground.cpp +++ b/indra/newview/llvoground.cpp @@ -162,7 +162,7 @@ BOOL LLVOGround::updateGeometry(LLDrawable *drawable) *(texCoordsp++) = LLVector2(0.f, 1.f); *(texCoordsp++) = LLVector2(0.5f, 0.5f); - face->getVertexBuffer()->setBuffer(0); + face->getVertexBuffer()->flush(); LLPipeline::sCompiles++; return TRUE; } |
