1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-19 21:53:51 +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) if(texture)
state->applyTextureAttribute(0, 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) if (bufferobject)
{ {
state->bindVertexBufferObject(bufferobject); state->bindVertexBufferObject(bufferobject);