From f8e5faa3079218704cfb793917e96a0a7a9ef8b1 Mon Sep 17 00:00:00 2001 From: Armin Weatherwax Date: Fri, 18 Mar 2011 16:55:28 +0100 Subject: only use vbo if available --- linden/indra/newview/pipeline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linden/indra/newview/pipeline.cpp') diff --git a/linden/indra/newview/pipeline.cpp b/linden/indra/newview/pipeline.cpp index 36ffb05..5458af5 100644 --- a/linden/indra/newview/pipeline.cpp +++ b/linden/indra/newview/pipeline.cpp @@ -4934,7 +4934,7 @@ void LLPipeline::setUseVBO(BOOL use_vbo) } resetVertexBuffers(); - LLVertexBuffer::initClass(use_vbo); + LLVertexBuffer::initClass(use_vbo && gGLManager.mHasVertexBufferObject); } } -- cgit v1.1