diff options
author | Keith Whitwell <[email protected]> | 2004-06-18 10:58:30 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2004-06-18 10:58:30 +0000 |
commit | 1e93e197f962a3133eba08c91aa39874ee4cbaba (patch) | |
tree | 9d24a86967e19e7b6e3ec22230b566b755cd87ae /src/mesa | |
parent | 594c3f67ac8fceb061e47b090ec4d149c55a1940 (diff) |
Use correct macros for packing pixel colors -- this bug is probably
present in many of the other drivers as well.
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/drivers/dri/i915/intel_span.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i915/intel_span.c b/src/mesa/drivers/dri/i915/intel_span.c index 90fdd954269..456403f2c34 100644 --- a/src/mesa/drivers/dri/i915/intel_span.c +++ b/src/mesa/drivers/dri/i915/intel_span.c @@ -67,7 +67,7 @@ #define LOCAL_STENCIL_VARS LOCAL_DEPTH_VARS #define INIT_MONO_PIXEL(p,color)\ - p = PACK_COLOR_565(color[0],color[1],color[2]) + p = INTEL_PACKCOLOR565(color[0],color[1],color[2]) #define CLIPPIXEL(_x,_y) (_x >= minx && _x < maxx && \ _y >= miny && _y < maxy) @@ -181,7 +181,7 @@ do { \ #undef INIT_MONO_PIXEL #define INIT_MONO_PIXEL(p,color)\ - p = PACK_COLOR_888(color[0],color[1],color[2]) + p = INTEL_PACKCOLOR8888(color[0],color[1],color[2],color[3]) /* 32 bit, 8888 argb color spanline and pixel functions */ |