Mesa (master): softpipe: use proper type for format field

Brian Paul brianp at kemper.freedesktop.org
Sun Jan 23 01:35:36 UTC 2011


Module: Mesa
Branch: master
Commit: 4e2c077879dce298aa0f2648cac1dba1fa5a58af
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4e2c077879dce298aa0f2648cac1dba1fa5a58af

Author: Brian Paul <brianp at vmware.com>
Date:   Sat Jan 22 16:53:16 2011 -0700

softpipe: use proper type for format field

---

 src/gallium/drivers/softpipe/sp_tex_tile_cache.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/gallium/drivers/softpipe/sp_tex_tile_cache.h b/src/gallium/drivers/softpipe/sp_tex_tile_cache.h
index 2220955..9bced37 100644
--- a/src/gallium/drivers/softpipe/sp_tex_tile_cache.h
+++ b/src/gallium/drivers/softpipe/sp_tex_tile_cache.h
@@ -92,7 +92,7 @@ struct softpipe_tex_tile_cache
    unsigned swizzle_g;
    unsigned swizzle_b;
    unsigned swizzle_a;
-   unsigned format;
+   enum pipe_format format;
 
    struct softpipe_tex_cached_tile *last_tile;  /**< most recently retrieved tile */
 };




More information about the mesa-commit mailing list