diff options
Diffstat (limited to 'src/mesa/drivers/dri/s3v')
-rw-r--r-- | src/mesa/drivers/dri/s3v/s3v_common.h | 8 | ||||
-rw-r--r-- | src/mesa/drivers/dri/s3v/s3v_macros.h | 14 | ||||
-rw-r--r-- | src/mesa/drivers/dri/s3v/s3v_tex.h | 4 |
3 files changed, 13 insertions, 13 deletions
diff --git a/src/mesa/drivers/dri/s3v/s3v_common.h b/src/mesa/drivers/dri/s3v/s3v_common.h index 22f6014b2cf..b66cdf1df08 100644 --- a/src/mesa/drivers/dri/s3v/s3v_common.h +++ b/src/mesa/drivers/dri/s3v/s3v_common.h @@ -16,11 +16,11 @@ /* #define S3V_BUF_4K 1 */ #ifdef S3V_BUF_4K - #define S3V_DMA_BUF_ORDER 12 - #define S3V_DMA_BUF_NR 256 +#define S3V_DMA_BUF_ORDER 12 +#define S3V_DMA_BUF_NR 256 #else - #define S3V_DMA_BUF_ORDER 16 /* -much- better */ - #define S3V_DMA_BUF_NR 16 +#define S3V_DMA_BUF_ORDER 16 /* -much- better */ +#define S3V_DMA_BUF_NR 16 #endif /* on s3virge you can only choose between * * 4k (2^12) and 64k (2^16) dma bufs */ diff --git a/src/mesa/drivers/dri/s3v/s3v_macros.h b/src/mesa/drivers/dri/s3v/s3v_macros.h index b54d506788d..0779006cdcd 100644 --- a/src/mesa/drivers/dri/s3v/s3v_macros.h +++ b/src/mesa/drivers/dri/s3v/s3v_macros.h @@ -18,25 +18,25 @@ /* Note: The argument to DEBUG*() _must_ be enclosed in parenthesis */ #if (GENERIC_DEBUG || FLOW_DEBUG || DMABUFS_DEBUG) - #include <stdio.h> +#include <stdio.h> #endif #if GENERIC_DEBUG - #define DEBUG(str) printf str +#define DEBUG(str) printf str #else - #define DEBUG(str) +#define DEBUG(str) #endif #if FLOW_DEBUG - #define DEBUG_WHERE(str) printf str +#define DEBUG_WHERE(str) printf str #else - #define DEBUG_WHERE(str) +#define DEBUG_WHERE(str) #endif #if DMABUFS_DEBUG - #define DEBUG_BUFS(str) printf str +#define DEBUG_BUFS(str) printf str #else - #define DEBUG_BUFS(str) +#define DEBUG_BUFS(str) #endif diff --git a/src/mesa/drivers/dri/s3v/s3v_tex.h b/src/mesa/drivers/dri/s3v/s3v_tex.h index 201ab034692..a823fe24531 100644 --- a/src/mesa/drivers/dri/s3v/s3v_tex.h +++ b/src/mesa/drivers/dri/s3v/s3v_tex.h @@ -10,9 +10,9 @@ extern void s3vUpdateTexLRU( s3vContextPtr vmesa, s3vTextureObjectPtr t ); #if TEX_DEBUG_ON - #define DEBUG_TEX(str) printf str +#define DEBUG_TEX(str) printf str #else - #define DEBUG_TEX(str) /* str */ +#define DEBUG_TEX(str) /* str */ #endif #define _TEXFLUSH 1 /* flush before uploading */ |