projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb5f1bc
)
gallium: Use the enum for pipe_transfer::usage.
author
José Fonseca
<jfonseca@vmware.com>
Tue, 15 Sep 2009 15:02:20 +0000
(16:02 +0100)
committer
José Fonseca
<jfonseca@vmware.com>
Tue, 15 Sep 2009 15:02:55 +0000
(16:02 +0100)
src/gallium/include/pipe/p_state.h
patch
|
blob
|
history
diff --git
a/src/gallium/include/pipe/p_state.h
b/src/gallium/include/pipe/p_state.h
index 626bedb35a85cf9a90c8eeddb772f6900efbce80..2187f5b367795dfca73762e389223a93216803ed 100644
(file)
--- 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;