summaryrefslogtreecommitdiffstats
path: root/src/mesa/pipe/i915simple/i915_surface.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-12-07 16:01:31 -0700
committerBrian <[email protected]>2007-12-07 16:01:31 -0700
commit2067eed9d30bb5b260920a5650655579c1988202 (patch)
tree03d112483fa510bc618e9307d587bd38585efc8c /src/mesa/pipe/i915simple/i915_surface.c
parent099bf3ffe932f4a8c1ddae064bce901555af35ce (diff)
Get rid of "duplicate" formats.
For example, replace PIPE_FORMAT_U_A8_R8_G8_B8 with PIPE_FORMAT_A8R8G8B8_UNORM
Diffstat (limited to 'src/mesa/pipe/i915simple/i915_surface.c')
-rw-r--r--src/mesa/pipe/i915simple/i915_surface.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/pipe/i915simple/i915_surface.c b/src/mesa/pipe/i915simple/i915_surface.c
index ecbabe50eb5..ea48c1bd8ae 100644
--- a/src/mesa/pipe/i915simple/i915_surface.c
+++ b/src/mesa/pipe/i915simple/i915_surface.c
@@ -66,7 +66,7 @@ i915_get_tile_rgba(struct pipe_context *pipe,
CLIP_TILE;
switch (ps->format) {
- case PIPE_FORMAT_U_A8_R8_G8_B8:
+ case PIPE_FORMAT_A8R8G8B8_UNORM:
for (i = 0; i < h; i++) {
float *pRow = p;
for (j = 0; j < w; j++) {
@@ -81,7 +81,7 @@ i915_get_tile_rgba(struct pipe_context *pipe,
p += w0 * 4;
}
break;
- case PIPE_FORMAT_S8_Z24:
+ case PIPE_FORMAT_S8Z24_UNORM:
{
const float scale = 1.0f / (float) 0xffffff;
for (i = 0; i < h; i++) {