changeset 9210:fc78c4942484

keep reserved bits zeroed, test & bug report by andee (at irc.freenode.net)
author iive
date Sat, 01 Feb 2003 20:15:48 +0000
parents c0151a96c0ae
children 383e3cc8ee88
files drivers/3dfx.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/drivers/3dfx.h	Sat Feb 01 18:49:42 2003 +0000
+++ b/drivers/3dfx.h	Sat Feb 01 20:15:48 2003 +0000
@@ -316,7 +316,7 @@
 #define TDFXF_HSYNC_MASK		0x03
 #define TDFXF_VSYNC_MASK		0x0c
 
-#define XYREG(x,y)		(((((unsigned long)y) & 0xFFFF) << 16) | (((unsigned long)x) & 0xFFFF))
+#define XYREG(x,y)		(((((unsigned long)y) & 0x1FFF) << 16) | (((unsigned long)x) & 0x1FFF))
 
 //#define TDFXFB_DEBUG 
 #ifdef TDFXFB_DEBUG