mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 04:48:08 +02:00
util: Change u_get_transfer_vtbl usage argument type to match prototype.
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.
This commit is contained in:
parent
61c59234f9
commit
9ee765197c
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue