From 0cfd4f92dde078bcc9f458ede91cc341a7b0ef5b Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sun, 4 Sep 2005 15:02:48 +0000 Subject: replace GET_SRC_PTR, GET_DST_PTR with GET_PTR --- src/mesa/drivers/dri/unichrome/via_span.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/mesa/drivers/dri/unichrome') diff --git a/src/mesa/drivers/dri/unichrome/via_span.c b/src/mesa/drivers/dri/unichrome/via_span.c index 5bffade940..112b902bd2 100644 --- a/src/mesa/drivers/dri/unichrome/via_span.c +++ b/src/mesa/drivers/dri/unichrome/via_span.c @@ -56,8 +56,7 @@ /* 16 bit, RGB565 color spanline and pixel functions */ -#define GET_SRC_PTR(_x, _y) (buf + (_x) * 2 + (_y) * pitch) -#define GET_DST_PTR(_x, _y) GET_SRC_PTR(_x, _y); +#define GET_PTR(_x, _y) (buf + (_x) * 2 + (_y) * pitch) #define SPANTMP_PIXEL_FMT GL_RGB #define SPANTMP_PIXEL_TYPE GL_UNSIGNED_SHORT_5_6_5 @@ -68,8 +67,7 @@ /* 32 bit, ARGB8888 color spanline and pixel functions */ -#define GET_SRC_PTR(_x, _y) (buf + (_x) * 4 + (_y) * pitch) -#define GET_DST_PTR(_x, _y) GET_SRC_PTR(_x, _y); +#define GET_PTR(_x, _y) (buf + (_x) * 4 + (_y) * pitch) #define SPANTMP_PIXEL_FMT GL_BGRA #define SPANTMP_PIXEL_TYPE GL_UNSIGNED_INT_8_8_8_8_REV -- cgit v1.2.3