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 2220955..9bced37 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 */
 };