From f760aebc926432d364292c9e916e72c4f4f46623 Mon Sep 17 00:00:00 2001 From: scrawl Date: Tue, 5 May 2015 17:55:38 +0200 Subject: [PATCH] Disable MyGUI VBOs due to crashes (will look into proper fix) --- components/myguiplatform/myguirendermanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/myguiplatform/myguirendermanager.cpp b/components/myguiplatform/myguirendermanager.cpp index d1bf73904..e9a6f8c4e 100644 --- a/components/myguiplatform/myguirendermanager.cpp +++ b/components/myguiplatform/myguirendermanager.cpp @@ -148,7 +148,7 @@ class Drawable : public osg::Drawable { if(texture) state->applyTextureAttribute(0, texture); - osg::GLBufferObject* bufferobject = state->isVertexBufferObjectSupported() ? vbo->getOrCreateGLBufferObject(state->getContextID()) : 0; + osg::GLBufferObject* bufferobject = 0;//state->isVertexBufferObjectSupported() ? vbo->getOrCreateGLBufferObject(state->getContextID()) : 0; if (bufferobject) { state->bindVertexBufferObject(bufferobject);