From 0bf04fe78a8a915310ef8a90f5c7872be7476e2e Mon Sep 17 00:00:00 2001 From: Wang Zhenyu Date: Mon, 4 Dec 2006 15:48:04 +0800 Subject: [PATCH] [PATCH] set correct default border color Signed-off-by: Keith Packard --- src/i965_exa_render.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/i965_exa_render.c b/src/i965_exa_render.c index 2d1ce5ff..7e9c1e37 100644 --- a/src/i965_exa_render.c +++ b/src/i965_exa_render.c @@ -691,10 +691,10 @@ ErrorF("i965 prepareComposite\n"); } memset(default_color_state, 0, sizeof(*default_color_state)); - default_color_state->color[0] = 1.0; /* RGBA format */ - default_color_state->color[1] = 0.0; - default_color_state->color[2] = 0.0; - default_color_state->color[3] = 0.0; + 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 */ src_sampler_state->ss0.default_color_mode = 0; /* GL mode */