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

Mon, 30 Apr 2018 20:23:57 +0300

author
AndreyL ProductEngine <alihatskiy@productengine.com>
date
Mon, 30 Apr 2018 20:23:57 +0300
changeset 55373
7b6b020fd5ad
parent 55372
2ea2375b914f
child 55374
dba925f5b176
child 55377
b5db4628537f

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

indra/newview/llglsandbox.cpp file | annotate | diff | revisions
     1.1 --- a/indra/newview/llglsandbox.cpp	Mon Apr 23 23:31:23 2018 +0300
     1.2 +++ b/indra/newview/llglsandbox.cpp	Mon Apr 30 20:23:57 2018 +0300
     1.3 @@ -1060,7 +1060,7 @@
     1.4      delete [] pixels;
     1.5  
     1.6  	//make a dummy triangle to draw with
     1.7 -	LLPointer<LLVertexBuffer> buff = new LLVertexBuffer(LLVertexBuffer::MAP_VERTEX | LLVertexBuffer::MAP_TEXCOORD0, GL_STATIC_DRAW_ARB);
     1.8 +	LLPointer<LLVertexBuffer> buff = new LLVertexBuffer(LLVertexBuffer::MAP_VERTEX | LLVertexBuffer::MAP_TEXCOORD0, GL_STREAM_DRAW_ARB);
     1.9  
    1.10  	if (!buff->allocateBuffer(3, 0, true))
    1.11  	{

mercurial