summaryrefslogtreecommitdiff
path: root/indra/newview/llvoground.cpp
diff options
context:
space:
mode:
authorHoward Stearns <aech@lindenlab.com>2022-09-09 18:47:16 +0000
committerHoward Stearns <aech@lindenlab.com>2022-09-09 18:47:16 +0000
commit765a99d238da80bcf705f58f8e8d6082050c0260 (patch)
tree88de597a5cf75720f90a0d512fda89860c5a2e3e /indra/newview/llvoground.cpp
parentdfe19c257dbb9d5af6f1e2961015e95847525412 (diff)
parentc9565d6493887b1518465e8a666a75bbe9878f1d (diff)
Merged in SL-17967 (pull request #1113)
SL-17967 require 4.1 core profile
Diffstat (limited to 'indra/newview/llvoground.cpp')
-rw-r--r--indra/newview/llvoground.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llvoground.cpp b/indra/newview/llvoground.cpp
index 52a6395618..28bd5a3c97 100644
--- a/indra/newview/llvoground.cpp
+++ b/indra/newview/llvoground.cpp
@@ -93,7 +93,7 @@ BOOL LLVOGround::updateGeometry(LLDrawable *drawable)
if (!face->getVertexBuffer())
{
face->setSize(5, 12);
- LLVertexBuffer* buff = new LLVertexBuffer(LLDrawPoolGround::VERTEX_DATA_MASK, GL_STREAM_DRAW_ARB);
+ LLVertexBuffer* buff = new LLVertexBuffer(LLDrawPoolGround::VERTEX_DATA_MASK, GL_STREAM_DRAW);
if (!buff->allocateBuffer(face->getGeomCount(), face->getIndicesCount(), TRUE))
{
LL_WARNS() << "Failed to allocate Vertex Buffer for VOGround to "