summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2009-09-15 16:02:20 +0100
committerJosé Fonseca <[email protected]>2009-09-15 16:02:55 +0100
commita18301790cf2b6f494284cdda6eea8bb1ceacd8e (patch)
treede065653715ec95ca96bbe39b21cfe4ca00da4dc /src
parentcb5f1bce23f3d5c7ac4f0a18476aefa21b4c1265 (diff)
gallium: Use the enum for pipe_transfer::usage.
Diffstat (limited to 'src')
-rw-r--r--src/gallium/include/pipe/p_state.h2
1 files changed, 1 insertions, 1 deletions
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;