diff options
author | Brian Paul <[email protected]> | 2019-05-04 10:02:48 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2019-05-08 10:05:41 -0600 |
commit | cf5c7beb63777dac95c74a4b45daf8459f4a1ae2 (patch) | |
tree | d2433496c9e038e15857dff2826730de16cb131b /src/gallium | |
parent | bc517dbbf7050948204abcffdabc99b8a3790987 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/auxiliary/driver_noop/noop_pipe.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |