mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-30 18:45:38 +00:00
Enable vertex buffer objects in MyGUI RenderManager now that OSG 3.4 is a dependency
This commit is contained in:
parent
3f08cbff71
commit
0dbf44b414
1 changed files with 2 additions and 3 deletions
|
@ -131,9 +131,8 @@ public:
|
||||||
if(texture)
|
if(texture)
|
||||||
state->applyTextureAttribute(0, texture);
|
state->applyTextureAttribute(0, texture);
|
||||||
|
|
||||||
// VBOs disabled due to crash in OSG: http://forum.openscenegraph.org/viewtopic.php?t=14909
|
osg::GLBufferObject* bufferobject = state->isVertexBufferObjectSupported() ? vbo->getOrCreateGLBufferObject(state->getContextID()) : 0;
|
||||||
osg::GLBufferObject* bufferobject = 0;//state->isVertexBufferObjectSupported() ? vbo->getOrCreateGLBufferObject(state->getContextID()) : 0;
|
if (bufferobject)
|
||||||
if (0)//bufferobject)
|
|
||||||
{
|
{
|
||||||
state->bindVertexBufferObject(bufferobject);
|
state->bindVertexBufferObject(bufferobject);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue