gallium/util: fix argument cast in x32_s8_get_tile_rgba() call
authorBrian Paul <brianp@vmware.com>
Wed, 4 Jan 2012 20:34:54 +0000 (13:34 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 4 Jan 2012 20:35:13 +0000 (13:35 -0700)
src/gallium/auxiliary/util/u_tile.c

index 357e896ade78ce35545061835bdbb619c6884e89..ea4b91f959a4e0974feec908e057e0b7c40d8dfa 100644 (file)
@@ -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,