diff --git a/src/gallium/drivers/svga/svga_screen.c b/src/gallium/drivers/svga/svga_screen.c index 464a448276a..9c0c125e136 100644 --- a/src/gallium/drivers/svga/svga_screen.c +++ b/src/gallium/drivers/svga/svga_screen.c @@ -1318,7 +1318,7 @@ svga_screen_create(struct svga_winsys_screen *sws) } (void) mtx_init(&svgascreen->tex_mutex, mtx_plain); - (void) mtx_init(&svgascreen->swc_mutex, mtx_recursive); + (void) mtx_init(&svgascreen->swc_mutex, mtx_plain | mtx_recursive); svga_screen_cache_init(svgascreen);