mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-09 06:48:06 +02:00
svga: direct use of mtx_recursive is not c11 conformance
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18445>
This commit is contained in:
parent
e1139a3fc3
commit
0894762cb8
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue