MADS: Refactor MSurface and Screen to not use virtual inheritance

This commit is contained in:
Paul Gilbert 2016-05-26 21:37:52 -04:00
parent ac8adb07c8
commit 78e52365bd
19 changed files with 69 additions and 59 deletions

View file

@ -558,7 +558,7 @@ void TextDisplayList::setDirtyAreas2() {
}
}
void TextDisplayList::draw(MSurface *s) {
void TextDisplayList::draw(BaseSurface *s) {
for (uint idx = 0; idx < size(); ++idx) {
TextDisplay &td = (*this)[idx];
if (td._active && (td._expire >= 0)) {