Fixed more uninitialized variables and two potential memory leaks.

This commit is contained in:
Robert Osfield
2002-07-22 12:41:55 +00:00
parent bfefb55a9f
commit 3dd07ea354
9 changed files with 36 additions and 12 deletions

View File

@@ -28,6 +28,7 @@ FTGLTextureFont::FTGLTextureFont()
glyphWidth(0),
padding(1)
{
glContextTextureID.resize(osg::DisplaySettings::instance()->getMaxNumberOfGraphicsContexts(),0);
}