From 66f1a6ceaa64fea3f964fdbfbabe040c87603aec Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 5 Mar 2008 11:52:56 +0000 Subject: [PATCH] From Atr Trevs, added missinging initializers --- src/osg/State.cpp | 3 +++ 1 file changed, 3 insertions(+) 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()