mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-08 21:30:23 +01:00
Use correct macros for packing pixel colors -- this bug is probably
present in many of the other drivers as well.
This commit is contained in:
parent
594c3f67ac
commit
1e93e197f9
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue