Made the drawable::compile(State&) method const and the DisplayListVisitor to

compile even when dislay list is off.  This has been done to allow subclasses
of Drawable handle their own compile implementation, such as used by text.
This commit is contained in:
Robert Osfield
2003-01-20 20:40:06 +00:00
parent dc83e399a9
commit 0f69a4c3ae
3 changed files with 7 additions and 13 deletions

View File

@@ -85,7 +85,7 @@ void Drawable::dirtyBound()
}
}
void Drawable::compile(State& state)
void Drawable::compile(State& state) const
{
if (!_useDisplayList) return;