diff options
Diffstat (limited to 'backends/platform')
-rw-r--r-- | backends/platform/wince/wince-sdl.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/backends/platform/wince/wince-sdl.cpp b/backends/platform/wince/wince-sdl.cpp index 06dbe4f227..b08cfbbead 100644 --- a/backends/platform/wince/wince-sdl.cpp +++ b/backends/platform/wince/wince-sdl.cpp @@ -2118,6 +2118,9 @@ void OSystem_WINCE3::blitCursor() { void OSystem_WINCE3::showOverlay() { assert (_transactionMode == kTransactionNone); + if (_overlayVisible) + return; + undrawMouse(); _overlayVisible = true; update_scalers(); @@ -2127,8 +2130,10 @@ void OSystem_WINCE3::showOverlay() { void OSystem_WINCE3::hideOverlay() { assert (_transactionMode == kTransactionNone); - undrawMouse(); + if (!_overlayVisible) + return; + undrawMouse(); _overlayVisible = false; clearOverlay(); _forceFull = true; |