diff options
author | Christoph Bumiller <[email protected]> | 2009-07-28 17:38:28 +0200 |
---|---|---|
committer | Ben Skeggs <[email protected]> | 2009-07-29 09:40:35 +1000 |
commit | 987c59c486500780a9315d2a850e6121319f4e93 (patch) | |
tree | 98ac1e7bf8d4e82a916b6c7a66497d926affb60e /src/gallium/drivers/nv50/nv50_surface.c | |
parent | 1f17b8ff5903b72117caaa49ac786f2f6dfbe401 (diff) |
nv50: use new 2D surface format names
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_surface.c')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_surface.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/nv50/nv50_surface.c b/src/gallium/drivers/nv50/nv50_surface.c index 3da9d6e7285..31c36a12b73 100644 --- a/src/gallium/drivers/nv50/nv50_surface.c +++ b/src/gallium/drivers/nv50/nv50_surface.c @@ -35,13 +35,13 @@ nv50_format(enum pipe_format format) { switch (format) { case PIPE_FORMAT_A8R8G8B8_UNORM: - return NV50_2D_DST_FORMAT_32BPP; + return NV50_2D_DST_FORMAT_A8R8G8B8_UNORM; case PIPE_FORMAT_X8R8G8B8_UNORM: - return NV50_2D_DST_FORMAT_24BPP; + return NV50_2D_DST_FORMAT_X8R8G8B8_UNORM; case PIPE_FORMAT_R5G6B5_UNORM: - return NV50_2D_DST_FORMAT_16BPP; + return NV50_2D_DST_FORMAT_R5G6B5_UNORM; case PIPE_FORMAT_A8_UNORM: - return NV50_2D_DST_FORMAT_8BPP; + return NV50_2D_DST_FORMAT_R8_UNORM; default: return -1; } |