From: Brian Paul Date: Sat, 4 May 2019 16:02:48 +0000 (-0600) Subject: noop: s/enum pipe_transfer_usage/unsigned/ to fix MSVC warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=cf5c7beb63777dac95c74a4b45daf8459f4a1ae2;p=mesa.git 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 --- diff --git a/src/gallium/auxiliary/driver_noop/noop_pipe.c b/src/gallium/auxiliary/driver_noop/noop_pipe.c index a6497f07677..2a4d3ebab63 100644 --- a/src/gallium/auxiliary/driver_noop/noop_pipe.c +++ b/src/gallium/auxiliary/driver_noop/noop_pipe.c @@ -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) {