MADS: Refactor MSurface and Screen to not use virtual inheritance
This commit is contained in:
parent
ac8adb07c8
commit
78e52365bd
19 changed files with 69 additions and 59 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue