Skip to content
Snippets Groups Projects
Commit a1934bee authored by AndreyL ProductEngine's avatar AndreyL ProductEngine
Browse files

MAINT-8610 Fixed GPU Benchmark appears to be broken - "Failed to allocate buffer during benchmark"

parent 7ce88015
No related branches found
No related tags found
No related merge requests found
......@@ -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))
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment