aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Brown2002-04-13 04:11:18 +0000
committerJames Brown2002-04-13 04:11:18 +0000
commit44d4c1ac6082eb3c3e11217d8fecd8a2713995ca (patch)
treec9d83acb3ebbff0bb162b8ad5271023253a175e9
parent087a6ed76121632ea0f1a55770082db977b26212 (diff)
downloadscummvm-rg350-44d4c1ac6082eb3c3e11217d8fecd8a2713995ca.tar.gz
scummvm-rg350-44d4c1ac6082eb3c3e11217d8fecd8a2713995ca.tar.bz2
scummvm-rg350-44d4c1ac6082eb3c3e11217d8fecd8a2713995ca.zip
Remove Win32 dependency from sdl.cpp
svn-id: r3915
-rw-r--r--sdl.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/sdl.cpp b/sdl.cpp
index bcccdae84a..b13c0bfb8b 100644
--- a/sdl.cpp
+++ b/sdl.cpp
@@ -564,9 +564,10 @@ void OSystem_SDL::update_screen() {
/* Call SDL update on the affected regions */
SDL_UpdateRects(sdl_hwscreen, num_dirty_rects, dirty_rect_list);
-
+#ifdef WIN32
if (GetAsyncKeyState(VK_SHIFT)<0)
printf("Update area %d pixels. %d%%\n", area, (area+(320*2)/2) / (320*2));
+#endif
} else {
/* Call SDL update on the affected regions */
SDL_UpdateRects(sdl_hwscreen, num_dirty_rects, dirty_rect_list);