summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2012-01-04 13:34:54 -0700
committerBrian Paul <[email protected]>2012-01-04 13:35:13 -0700
commitc2e537fef26be6f9995f99e04015d0c1ac9ed5ae (patch)
tree95bd8e5d28553bfbc9977943313b58bd0dcb1491
parent2a0c515b8960a3227c3e64c84a3014823da276a3 (diff)
gallium/util: fix argument cast in x32_s8_get_tile_rgba() call
-rw-r--r--src/gallium/auxiliary/util/u_tile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_tile.c b/src/gallium/auxiliary/util/u_tile.c
index 357e896ade7..ea4b91f959a 100644
--- a/src/gallium/auxiliary/util/u_tile.c
+++ b/src/gallium/auxiliary/util/u_tile.c
@@ -407,7 +407,7 @@ pipe_tile_raw_to_rgba(enum pipe_format format,
z32f_x24s8_get_tile_rgba((float *) src, w, h, dst, dst_stride);
break;
case PIPE_FORMAT_X32_S8X24_UINT:
- x32_s8_get_tile_rgba((float *) src, w, h, dst, dst_stride);
+ x32_s8_get_tile_rgba((unsigned *) src, w, h, dst, dst_stride);
break;
default:
util_format_read_4f(format,