aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/virgl/vtest
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/winsys/virgl/vtest')
-rw-r--r--src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c b/src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c
index ce8ac97756f..a8c874a4f69 100644
--- a/src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c
+++ b/src/gallium/winsys/virgl/vtest/virgl_vtest_winsys.c
@@ -637,7 +637,7 @@ virgl_vtest_winsys_wrap(struct sw_winsys *sws)
vtws->usecs = 1000000;
LIST_INITHEAD(&vtws->delayed);
- pipe_mutex_init(vtws->mutex);
+ (void) mtx_init(&vtws->mutex, mtx_plain);
vtws->base.destroy = virgl_vtest_winsys_destroy;