aboutsummaryrefslogtreecommitdiff
path: root/backends/wince
diff options
context:
space:
mode:
Diffstat (limited to 'backends/wince')
-rw-r--r--backends/wince/wince-sdl.cpp4
-rw-r--r--backends/wince/wince-sdl.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/backends/wince/wince-sdl.cpp b/backends/wince/wince-sdl.cpp
index 977232a649..1affda9df6 100644
--- a/backends/wince/wince-sdl.cpp
+++ b/backends/wince/wince-sdl.cpp
@@ -733,7 +733,7 @@ void OSystem_WINCE3::update_game_settings() {
get_sample_rate();
}
-void OSystem_WINCE3::initSize(uint w, uint h) {
+void OSystem_WINCE3::initSize(uint w, uint h, int overlaySize) {
if (_isSmartphone && h == 240)
h = 200; // mainly for the launcher
@@ -765,7 +765,7 @@ void OSystem_WINCE3::initSize(uint w, uint h) {
if (w != _screenWidth || h != _screenHeight)
_scalersChanged = false;
- OSystem_SDL::initSize(w, h);
+ OSystem_SDL::initSize(w, h, overlayScale);
if (_scalersChanged) {
unloadGFXMode();
diff --git a/backends/wince/wince-sdl.h b/backends/wince/wince-sdl.h
index 79bdff1cd5..6338b839a8 100644
--- a/backends/wince/wince-sdl.h
+++ b/backends/wince/wince-sdl.h
@@ -45,7 +45,7 @@ public:
// Update the dirty areas of the screen
void internUpdateScreen();
- void initSize(uint w, uint h);
+ void initSize(uint w, uint h, int overlaySize);
// Overloaded from SDL_Common (toolbar handling)
bool pollEvent(Event &event);