Fix (in an ugly way for now :-) ) the building of the Xv mode.
svn-id: r4114
This commit is contained in:
parent
62e3369542
commit
ad5c568e59
1 changed files with 2 additions and 0 deletions
2
x11.cpp
2
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue