1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-06 00:55:50 +00:00

Disable MyGUI VBOs due to crashes (will look into proper fix)

This commit is contained in:
scrawl 2015-05-05 17:55:38 +02:00
parent 100d6e5fff
commit f760aebc92

View File

@ -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);