diff --git a/include/osg/State b/include/osg/State index d1cef0283..2b82b9323 100644 --- a/include/osg/State +++ b/include/osg/State @@ -1196,8 +1196,6 @@ class OSG_EXPORT State : public Referenced unsigned int _currentActiveTextureUnit; unsigned int _currentClientActiveTextureUnit; - GLBufferObject* _currentVBO; - GLBufferObject* _currentEBO; GLBufferObject* _currentPBO; diff --git a/src/osg/State.cpp b/src/osg/State.cpp index 7eb738653..83ee84c0c 100644 --- a/src/osg/State.cpp +++ b/src/osg/State.cpp @@ -88,8 +88,6 @@ State::State(): _currentActiveTextureUnit=0; _currentClientActiveTextureUnit=0; - _currentVBO = 0; - _currentEBO = 0; _currentPBO = 0; _isSecondaryColorSupported = false;