virgl: Fixes differs in parameter lists
../src/gallium/drivers/virgl/virgl_context.c(1783): error C2220: the following warning is treated as an error ../src/gallium/drivers/virgl/virgl_context.c(1783): warning C4113: 'void (__cdecl *)(pipe_context *,pipe_fence_handle **,pipe_flush_flags)' differs in parameter lists from 'void (__cdecl *)(pipe_context *,pipe_fence_handle **,unsigned int)' Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Jesse Natalie <jenatali@microsoft.com> Acked-by: Corentin Noël <corentin.noel@collabora.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36726>
This commit is contained in:
@@ -1125,7 +1125,7 @@ void virgl_flush_eq(struct virgl_context *ctx, void *closure,
|
||||
|
||||
static void virgl_flush_from_st(struct pipe_context *ctx,
|
||||
struct pipe_fence_handle **fence,
|
||||
enum pipe_flush_flags flags)
|
||||
unsigned flags)
|
||||
{
|
||||
struct virgl_context *vctx = virgl_context(ctx);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user