egl/wgl: Use util_call_once_data to replace usage of mtx_t glFlushMutex
authorYonggang Luo <luoyonggang@gmail.com>
Tue, 23 Aug 2022 20:07:00 +0000 (04:07 +0800)
committerMarge Bot <emma+marge@anholt.net>
Thu, 20 Oct 2022 01:32:47 +0000 (01:32 +0000)
commit56a34d15681139cbffe52f57c96ea48c9d4bd67b
treed03a0e72162ac59d0554a9870f3cee7204583f9e
parent81ef38f4843ba9d3d435af761ff576f57efce62e
egl/wgl: Use util_call_once_data to replace usage of mtx_t glFlushMutex

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19154>
src/egl/drivers/wgl/egl_wgl.c