comparison drivers/3dfx.h @ 7137:9a44c38d388c

Fixed some breakages of single-buffer rendering of tdfx
author mark
date Thu, 29 Aug 2002 12:04:21 +0000
parents 7d702c3ef0ad
children fc78c4942484
comparison
equal deleted inserted replaced
7136:122efc309784 7137:9a44c38d388c
314 #define TDFXF_VIDEO_ENABLE 0x20 314 #define TDFXF_VIDEO_ENABLE 0x20
315 315
316 #define TDFXF_HSYNC_MASK 0x03 316 #define TDFXF_HSYNC_MASK 0x03
317 #define TDFXF_VSYNC_MASK 0x0c 317 #define TDFXF_VSYNC_MASK 0x0c
318 318
319 #define XYREG(x,y) (((y) << 16) | (x)) 319 #define XYREG(x,y) (((((unsigned long)y) & 0xFFFF) << 16) | (((unsigned long)x) & 0xFFFF))
320 320
321 //#define TDFXFB_DEBUG 321 //#define TDFXFB_DEBUG
322 #ifdef TDFXFB_DEBUG 322 #ifdef TDFXFB_DEBUG
323 #define DPRINTK(a,b...) printk(KERN_DEBUG "fb: %s: " a, __FUNCTION__ , ## b) 323 #define DPRINTK(a,b...) printk(KERN_DEBUG "fb: %s: " a, __FUNCTION__ , ## b)
324 #else 324 #else