aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11.cpp2
1 files changed, 2 insertions, 0 deletions
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