aboutsummaryrefslogtreecommitdiff
path: root/x11.cpp
diff options
context:
space:
mode:
authorLionel Ulmer2002-04-27 18:22:52 +0000
committerLionel Ulmer2002-04-27 18:22:52 +0000
commitad5c568e59e0ff22a2309a7d23cd3f54f253b69c (patch)
treedf7596a3c00fc158fc81b3ee237d2bf8e5a0adac /x11.cpp
parent62e33695426be04add9a24724918d47206909df1 (diff)
downloadscummvm-rg350-ad5c568e59e0ff22a2309a7d23cd3f54f253b69c.tar.gz
scummvm-rg350-ad5c568e59e0ff22a2309a7d23cd3f54f253b69c.tar.bz2
scummvm-rg350-ad5c568e59e0ff22a2309a7d23cd3f54f253b69c.zip
Fix (in an ugly way for now :-) ) the building of the Xv mode.
svn-id: r4114
Diffstat (limited to 'x11.cpp')
-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