Mesa (master): gallium/util: fix argument cast in x32_s8_get_tile_rgba() call
Brian Paul
brianp at kemper.freedesktop.org
Wed Jan 4 20:37:27 UTC 2012
Module: Mesa
Branch: master
Commit: c2e537fef26be6f9995f99e04015d0c1ac9ed5ae
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=c2e537fef26be6f9995f99e04015d0c1ac9ed5ae
Author: Brian Paul <brianp at vmware.com>
Date: Wed Jan 4 13:34:54 2012 -0700
gallium/util: fix argument cast in x32_s8_get_tile_rgba() call
---
src/gallium/auxiliary/util/u_tile.c | 2 +-
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 357e896..ea4b91f 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,
More information about the mesa-commit
mailing list