diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2005-09-04 15:02:48 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2005-09-04 15:02:48 +0000 |
commit | 0cfd4f92dde078bcc9f458ede91cc341a7b0ef5b (patch) | |
tree | 54386872a8299f33717e81285e1ad2e50ca74435 /src/mesa/drivers/dri/unichrome | |
parent | eae73dbd916d3109224fdb938120acd1abb6b646 (diff) |
replace GET_SRC_PTR, GET_DST_PTR with GET_PTR
Diffstat (limited to 'src/mesa/drivers/dri/unichrome')
-rw-r--r-- | src/mesa/drivers/dri/unichrome/via_span.c | 6 |
1 files changed, 2 insertions, 4 deletions
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 |