Refactored the VertexArrayState's handling of vertex attribute aliasing

This commit is contained in:
Robert Osfield
2016-08-05 12:51:40 +01:00
parent 1f147f6bc6
commit bf28e2d037
7 changed files with 30 additions and 142 deletions

View File

@@ -178,7 +178,6 @@ void State::initializeExtensionProcs()
_glExtensions = new GLExtensions(_contextID);
GLExtensions::Set(_contextID, _glExtensions.get());
computeSecondaryColorSupported();
computeFogCoordSupported();
computeVertexBufferObjectSupported();
@@ -190,7 +189,7 @@ void State::initializeExtensionProcs()
#ifdef USE_VERTEXARRAYSTATE
_globalVertexArrayState = new VertexArrayState(_glExtensions.get());
_globalVertexArrayState = new VertexArrayState(this);
_globalVertexArrayState->assignAllDispatchers();
setCurrentToGloabalVertexArrayState();
#endif