From 44d4c1ac6082eb3c3e11217d8fecd8a2713995ca Mon Sep 17 00:00:00 2001 From: James Brown Date: Sat, 13 Apr 2002 04:11:18 +0000 Subject: Remove Win32 dependency from sdl.cpp svn-id: r3915 --- sdl.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sdl.cpp') 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); -- cgit v1.2.3