SDL: Fix copying the screen to the overlay
- glReadPixels did not use the correct overlay height - The copied image was flipped vertically - Screen change ID was not updated, which prevented the theme engine from detecting screen resolution changes
This commit is contained in:
parent
1c32722e59
commit
bb0e833fa7
5 changed files with 34 additions and 2 deletions
|
@ -72,6 +72,10 @@ byte *ModularBackend::setupScreen(int screenW, int screenH, bool fullscreen, boo
|
|||
return _graphicsManager->setupScreen(screenW, screenH, fullscreen, accel3d);
|
||||
}
|
||||
|
||||
int ModularBackend::getScreenChangeID() const {
|
||||
return _graphicsManager->getScreenChangeID();
|
||||
}
|
||||
|
||||
int16 ModularBackend::getHeight() {
|
||||
return _graphicsManager->getHeight();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue