summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreyL ProductEngine <alihatskiy@productengine.com>2018-04-30 20:23:57 +0300
committerAndreyL ProductEngine <alihatskiy@productengine.com>2018-04-30 20:23:57 +0300
commita1934bee39ec4ba951306a262987032897c2860d (patch)
tree85aeedea6a1a475bdc7c3841cffe0aa3d577879b
parent7ce880150fe7d2f333f207b5c8ed5672c8c8cfb0 (diff)
MAINT-8610 Fixed GPU Benchmark appears to be broken - "Failed to allocate buffer during benchmark"
-rw-r--r--indra/newview/llglsandbox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llglsandbox.cpp b/indra/newview/llglsandbox.cpp
index fc93181ef4..4b0b10dd5a 100644
--- a/indra/newview/llglsandbox.cpp
+++ b/indra/newview/llglsandbox.cpp
@@ -1060,7 +1060,7 @@ F32 gpu_benchmark()
delete [] pixels;
//make a dummy triangle to draw with
- LLPointer<LLVertexBuffer> buff = new LLVertexBuffer(LLVertexBuffer::MAP_VERTEX | LLVertexBuffer::MAP_TEXCOORD0, GL_STATIC_DRAW_ARB);
+ LLPointer<LLVertexBuffer> buff = new LLVertexBuffer(LLVertexBuffer::MAP_VERTEX | LLVertexBuffer::MAP_TEXCOORD0, GL_STREAM_DRAW_ARB);
if (!buff->allocateBuffer(3, 0, true))
{