GRAPHICS: Add new overridable updateScreen method to Screen
This commit is contained in:
parent
85d784a03a
commit
db92f62b7a
2 changed files with 17 additions and 8 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue