softpipe: use proper type for format field
authorBrian Paul <brianp@vmware.com>
Sat, 22 Jan 2011 23:53:16 +0000 (16:53 -0700)
committerBrian Paul <brianp@vmware.com>
Sun, 23 Jan 2011 01:33:35 +0000 (18:33 -0700)
src/gallium/drivers/softpipe/sp_tex_tile_cache.h

index 2220955b715cb12a39151ac00ef8aa708f3e84a3..9bced37990a48e1797d9e327f4b49f8e70df94a1 100644 (file)
@@ -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 */
 };