[PATCH] set correct default border color

Signed-off-by: Keith Packard <keithp@neko.keithp.com>
This commit is contained in:
Wang Zhenyu 2006-12-04 15:48:04 +08:00 committed by Keith Packard
parent 5c461063cd
commit 0bf04fe78a
1 changed files with 4 additions and 4 deletions

View File

@ -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 */