diff options
author | José Fonseca <jfonseca@vmware.com> | 2010-03-01 18:13:41 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-03-02 10:21:21 +0000 |
commit | b5cfa6f1966557106a7033b2c80769d64c72ce4c (patch) | |
tree | 8ba1285d10c43dd3b4a584e04e4f45d7ac95b7ff /src/gallium/drivers/r300/r300_state.c | |
parent | c9f1db0a03b6d89f8b1113785aa961e6c9a398ef (diff) |
r300: Rename pipe formats.
Diffstat (limited to 'src/gallium/drivers/r300/r300_state.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_state.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/r300/r300_state.c b/src/gallium/drivers/r300/r300_state.c index 12bf083871..6c23045561 100644 --- a/src/gallium/drivers/r300/r300_state.c +++ b/src/gallium/drivers/r300/r300_state.c @@ -356,7 +356,7 @@ static void r300_set_blend_color(struct pipe_context* pipe, (struct r300_blend_color_state*)r300->blend_color_state.state; union util_color uc; - util_pack_color(color->color, PIPE_FORMAT_A8R8G8B8_UNORM, &uc); + util_pack_color(color->color, PIPE_FORMAT_B8G8R8A8_UNORM, &uc); state->blend_color = uc.ui; /* XXX if FP16 blending is enabled, we should use the FP16 format */ @@ -869,7 +869,7 @@ static void* sampler->filter1 |= r300_anisotropy(state->max_anisotropy); - util_pack_color(state->border_color, PIPE_FORMAT_A8R8G8B8_UNORM, &uc); + util_pack_color(state->border_color, PIPE_FORMAT_B8G8R8A8_UNORM, &uc); sampler->border_color = uc.ui; /* R500-specific fixups and optimizations */ |