From: José Fonseca Date: Tue, 15 Sep 2009 15:02:20 +0000 (+0100) Subject: gallium: Use the enum for pipe_transfer::usage. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a18301790cf2b6f494284cdda6eea8bb1ceacd8e;p=mesa.git gallium: Use the enum for pipe_transfer::usage. --- diff --git a/src/gallium/include/pipe/p_state.h b/src/gallium/include/pipe/p_state.h index 626bedb35a8..2187f5b3677 100644 --- a/src/gallium/include/pipe/p_state.h +++ b/src/gallium/include/pipe/p_state.h @@ -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;