Added disable vertex arrays.

This commit is contained in:
Robert Osfield
2006-08-05 11:12:47 +00:00
parent d8e3027b2a
commit daf9d64357

View File

@@ -189,6 +189,8 @@ void CEGUIDrawable::drawImplementation(osg::State& state) const
glPushAttrib(GL_ALL_ATTRIB_BITS);
state.disableAllVertexArrays();
CEGUI::System::getSingleton().renderGUI();
glPopAttrib();