diff options
author | José Fonseca <[email protected]> | 2010-03-01 18:13:32 +0000 |
---|---|---|
committer | José Fonseca <[email protected]> | 2010-03-01 18:53:32 +0000 |
commit | c9f1db0a03b6d89f8b1113785aa961e6c9a398ef (patch) | |
tree | 112dd4f64a227cc22bfd1127309a05097e453db4 /src/gallium/drivers/nv40/nv40_miptree.c | |
parent | 33080a8454ef5d6443c9b7211ab1e71888679f9f (diff) |
nouveau: Rename pipe formats.
Diffstat (limited to 'src/gallium/drivers/nv40/nv40_miptree.c')
-rw-r--r-- | src/gallium/drivers/nv40/nv40_miptree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/nv40/nv40_miptree.c b/src/gallium/drivers/nv40/nv40_miptree.c index ad1a9a51952..85d7e1f1972 100644 --- a/src/gallium/drivers/nv40/nv40_miptree.c +++ b/src/gallium/drivers/nv40/nv40_miptree.c @@ -90,8 +90,8 @@ nv40_miptree_create(struct pipe_screen *pscreen, const struct pipe_texture *pt) else { switch (pt->format) { /* TODO: Figure out which formats can be swizzled */ - case PIPE_FORMAT_A8R8G8B8_UNORM: - case PIPE_FORMAT_X8R8G8B8_UNORM: + case PIPE_FORMAT_B8G8R8A8_UNORM: + case PIPE_FORMAT_B8G8R8X8_UNORM: case PIPE_FORMAT_R16_SNORM: { if (debug_get_bool_option("NOUVEAU_NO_SWIZZLE", FALSE)) |