GRAPHICS: Add new overridable updateScreen method to Screen

This commit is contained in:
Paul Gilbert 2018-08-22 21:06:32 -07:00 committed by Paul Gilbert
parent 85d784a03a
commit db92f62b7a
2 changed files with 17 additions and 8 deletions

View file

@ -53,10 +53,14 @@ void Screen::update() {
}
// Signal the physical screen to update
g_system->updateScreen();
updateScreen();
_dirtyRects.clear();
}
void Screen::updateScreen() {
// Update the screen
g_system->updateScreen();
}
void Screen::addDirtyRect(const Common::Rect &r) {
Common::Rect bounds = r;