[Mplayer-cvslog] CVS: main/drivers 3dfx.h,1.3,1.4

JALH CVS (Mark Zealey) mark at mplayerhq.hu
Thu Aug 29 14:04:24 CEST 2002


Update of /cvsroot/mplayer/main/drivers
In directory mail:/var/tmp.root/cvs-serv26074/drivers

Modified Files:
	3dfx.h 
Log Message:
Fixed some breakages of single-buffer rendering of tdfx


Index: 3dfx.h
===================================================================
RCS file: /cvsroot/mplayer/main/drivers/3dfx.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- 3dfx.h	21 Oct 2001 17:34:40 -0000	1.3
+++ 3dfx.h	29 Aug 2002 12:04:21 -0000	1.4
@@ -316,7 +316,7 @@
 #define TDFXF_HSYNC_MASK		0x03
 #define TDFXF_VSYNC_MASK		0x0c
 
-#define XYREG(x,y)		(((y) << 16) | (x))
+#define XYREG(x,y)		(((((unsigned long)y) & 0xFFFF) << 16) | (((unsigned long)x) & 0xFFFF))
 
 //#define TDFXFB_DEBUG 
 #ifdef TDFXFB_DEBUG




More information about the MPlayer-cvslog mailing list