gallium: Use the enum for pipe_transfer::usage.
authorJosé Fonseca <jfonseca@vmware.com>
Tue, 15 Sep 2009 15:02:20 +0000 (16:02 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Tue, 15 Sep 2009 15:02:55 +0000 (16:02 +0100)
src/gallium/include/pipe/p_state.h

index 626bedb35a85cf9a90c8eeddb772f6900efbce80..2187f5b367795dfca73762e389223a93216803ed 100644 (file)
@@ -307,7 +307,7 @@ struct pipe_transfer
    unsigned nblocksx;            /**< allocated width in blocks */
    unsigned nblocksy;            /**< allocated height in blocks */
    unsigned stride;              /**< stride in bytes between rows of blocks */
-   unsigned usage;               /**< PIPE_TRANSFER_*  */
+   enum pipe_transfer_usage usage; /**< PIPE_TRANSFER_*  */
 
    struct pipe_texture *texture; /**< texture to transfer to/from  */
    unsigned face;