From 4eb9dc519100dc940c96c67cb40e0231b20d1a7e Mon Sep 17 00:00:00 2001 From: Shyotl Date: Tue, 24 Dec 2013 20:17:05 -0600 Subject: [PATCH] Use GL_STREAM_DRAW_ARB for post-process fullscreen quad. --- indra/llrender/llpostprocess.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/llrender/llpostprocess.cpp b/indra/llrender/llpostprocess.cpp index 2d1909600..236adebbf 100644 --- a/indra/llrender/llpostprocess.cpp +++ b/indra/llrender/llpostprocess.cpp @@ -399,7 +399,7 @@ void LLPostProcess::initialize(unsigned int width, unsigned int height) //Setup our VBO. { - mVBO = new LLVertexBuffer(LLVertexBuffer::MAP_VERTEX | LLVertexBuffer::MAP_TEXCOORD0 | LLVertexBuffer::MAP_TEXCOORD1,3); + mVBO = new LLVertexBuffer(LLVertexBuffer::MAP_VERTEX | LLVertexBuffer::MAP_TEXCOORD0 | LLVertexBuffer::MAP_TEXCOORD1,GL_STREAM_DRAW_ARB); mVBO->allocateBuffer(4,0,TRUE); LLStrider v;