From ad5c568e59e0ff22a2309a7d23cd3f54f253b69c Mon Sep 17 00:00:00 2001 From: Lionel Ulmer Date: Sat, 27 Apr 2002 18:22:52 +0000 Subject: Fix (in an ugly way for now :-) ) the building of the Xv mode. svn-id: r4114 --- x11.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/x11.cpp b/x11.cpp index 9d7b4fe35c..24e4ff2dd8 100644 --- a/x11.cpp +++ b/x11.cpp @@ -535,9 +535,11 @@ void OSystem_X11::update_screen() { else XFillRectangle(display, window, black_gc, 0, window_height - current_shake_pos, window_width, window_height - new_shake_pos); +#ifndef USE_XV_SCALING XShmPutImage(display, window, DefaultGC(display, screen), image, 0, 0, scumm_x, scumm_y + new_shake_pos, 320, 200, 0); +#endif current_shake_pos = new_shake_pos; } else if (need_redraw == true) { #ifdef USE_XV_SCALING -- cgit v1.2.3