From cf5c7beb63777dac95c74a4b45daf8459f4a1ae2 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 4 May 2019 10:02:48 -0600 Subject: [PATCH] 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 --- src/gallium/auxiliary/driver_noop/noop_pipe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.30.2