From 6c31d05172f3eea7a80696c57969758a19a81b7c Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 2 Nov 2005 12:22:12 +0000 Subject: [PATCH] Added a setSupportsDisplayList(false) to constructor to prevent end users enabling display lists, something that can break the osgText's managment of state. --- src/osgText/Text.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/osgText/Text.cpp b/src/osgText/Text.cpp index 28eea5668..f4da9d6ca 100644 --- a/src/osgText/Text.cpp +++ b/src/osgText/Text.cpp @@ -45,6 +45,7 @@ Text::Text(): _lineCount(0) { setUseDisplayList(false); + setSupportsDisplayList(false); } Text::Text(const Text& text,const osg::CopyOp& copyop):