From d1be0dc4e9d443dcbd218a083cfb21a0b5d634ee Mon Sep 17 00:00:00 2001 From: Wang Zhenyu Date: Thu, 15 Feb 2007 11:03:12 +0800 Subject: [PATCH] EXA: fix i965 default color (0,0,0,1.0) -> (0,0,0,0) (0,0,0,1.0) is actually black... --- src/i965_render.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */