[Scummvm-cvs-logs] CVS: scummvm x11.cpp,1.20,1.21

Lionel Ulmer bbrox at users.sourceforge.net
Sun Apr 28 13:18:36 CEST 2002


Update of /cvsroot/scummvm/scummvm
In directory usw-pr-cvs1:/tmp/cvs-serv4049

Modified Files:
	x11.cpp 
Log Message:
Fix (in an ugly way for now :-) ) the building of the Xv mode.



Index: x11.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/x11.cpp,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** x11.cpp	27 Apr 2002 17:44:57 -0000	1.20
--- x11.cpp	27 Apr 2002 18:22:52 -0000	1.21
***************
*** 536,542 ****
--- 536,544 ----
  			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) {





More information about the Scummvm-git-logs mailing list