noop: s/enum pipe_transfer_usage/unsigned/ to fix MSVC warning

The function pointer declaration in pipe_context uses unsigned
for the bitmask.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
This commit is contained in:
Brian Paul
2019-05-04 10:02:48 -06:00
parent bc517dbbf7
commit cf5c7beb63
@@ -172,7 +172,7 @@ static void noop_resource_destroy(struct pipe_screen *screen,
static void *noop_transfer_map(struct pipe_context *pipe,
struct pipe_resource *resource,
unsigned level,
enum pipe_transfer_usage usage,
unsigned usage,
const struct pipe_box *box,
struct pipe_transfer **ptransfer)
{