gallium: Use the enum for pipe_transfer::usage.
This commit is contained in:
parent
cb5f1bce23
commit
a18301790c
|
@ -307,7 +307,7 @@ struct pipe_transfer
|
||||||
unsigned nblocksx; /**< allocated width in blocks */
|
unsigned nblocksx; /**< allocated width in blocks */
|
||||||
unsigned nblocksy; /**< allocated height in blocks */
|
unsigned nblocksy; /**< allocated height in blocks */
|
||||||
unsigned stride; /**< stride in bytes between rows of 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 */
|
struct pipe_texture *texture; /**< texture to transfer to/from */
|
||||||
unsigned face;
|
unsigned face;
|
||||||
|
|
Loading…
Reference in New Issue