projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61c5923
)
util: Change u_get_transfer_vtbl usage argument type to match prototype.
author
Vinson Lee
<vlee@vmware.com>
Fri, 4 Feb 2011 04:15:25 +0000
(20:15 -0800)
committer
Vinson Lee
<vlee@vmware.com>
Fri, 4 Feb 2011 04:15:25 +0000
(20:15 -0800)
The type of u_get_transfer_vtbl of the usage argument in u_transfer.h is
unsigned and not enum pipe_transfer_usage. This patch changes the type
of usage to unsigned to match the prototype in the header file.
src/gallium/auxiliary/util/u_resource.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_resource.c
b/src/gallium/auxiliary/util/u_resource.c
index 443c9f8067ef53643bfe28c8f557aa4bc99d4428..ea6896b430f91da19d0e6ecd93a7c33037897bb8 100644
(file)
--- a/
src/gallium/auxiliary/util/u_resource.c
+++ b/
src/gallium/auxiliary/util/u_resource.c
@@
-35,7
+35,7
@@
unsigned u_is_resource_referenced_vtbl( struct pipe_context *pipe,
struct pipe_transfer *u_get_transfer_vtbl(struct pipe_context *context,
struct pipe_resource *resource,
unsigned level,
-
enum pipe_transfer_usage
usage,
+
unsigned
usage,
const struct pipe_box *box)
{
struct u_resource *ur = u_resource(resource);