diff --git a/src/osg/State.cpp b/src/osg/State.cpp index 618d8e596..fb6aab39b 100644 --- a/src/osg/State.cpp +++ b/src/osg/State.cpp @@ -76,6 +76,9 @@ State::State(): _glDisableVertexAttribArray = 0; _dynamicObjectCount = 0; + + _glMaxTextureCoords = 1; + _glMaxTextureUnits = 1; } State::~State()