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:
@@ -45,6 +45,7 @@ Text::Text():
|
||||
_lineCount(0)
|
||||
{
|
||||
setUseDisplayList(false);
|
||||
setSupportsDisplayList(false);
|
||||
}
|
||||
|
||||
Text::Text(const Text& text,const osg::CopyOp& copyop):
|
||||
|
||||
Reference in New Issue
Block a user