Added a setSupportsDisplayList(false) to constructor to prevent end users

enabling display lists, something that can break the osgText's managment
of state.
This commit is contained in:
Robert Osfield
2005-11-02 12:22:12 +00:00
parent 3402a5087c
commit 6c31d05172

View File

@@ -45,6 +45,7 @@ Text::Text():
_lineCount(0)
{
setUseDisplayList(false);
setSupportsDisplayList(false);
}
Text::Text(const Text& text,const osg::CopyOp& copyop):