summaryrefslogtreecommitdiff
path: root/src/i965_render.c
diff options
context:
space:
mode:
authorWang Zhenyu <zhenyu.z.wang@intel.com>2007-02-15 11:03:12 +0800
committerWang Zhenyu <zhenyu.z.wang@intel.com>2007-02-15 11:03:12 +0800
commitd1be0dc4e9d443dcbd218a083cfb21a0b5d634ee (patch)
treebdb895cd7198c9c27371084eb22a9d1991dfb71d /src/i965_render.c
parentc010d28f0a91a9831d366ea490878ef3d958021f (diff)
EXA: fix i965 default color (0,0,0,1.0) -> (0,0,0,0)
(0,0,0,1.0) is actually black...
Diffstat (limited to 'src/i965_render.c')
-rw-r--r--src/i965_render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i965_render.c b/src/i965_render.c
index 8474c483..5c3f61d6 100644
--- a/src/i965_render.c
+++ b/src/i965_render.c
@@ -698,7 +698,7 @@ i965_prepare_composite(int op, PicturePtr pSrcPicture,
default_color_state->color[0] = 0.0; /* R */
default_color_state->color[1] = 0.0; /* G */
default_color_state->color[2] = 0.0; /* B */
- default_color_state->color[3] = 1.0; /* A */
+ default_color_state->color[3] = 0.0; /* A */
src_sampler_state->ss0.default_color_mode = 0; /* GL mode */