diff options
Diffstat (limited to 'src/gallium/state_trackers/dri/dri2.c')
-rw-r--r-- | src/gallium/state_trackers/dri/dri2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/dri/dri2.c b/src/gallium/state_trackers/dri/dri2.c index 1ad15b53b7a..da663b260d4 100644 --- a/src/gallium/state_trackers/dri/dri2.c +++ b/src/gallium/state_trackers/dri/dri2.c @@ -1431,7 +1431,7 @@ dri2_load_opencl_interop(struct dri_screen *screen) #if defined(RTLD_DEFAULT) bool success; - pipe_mutex_lock(screen->opencl_func_mutex); + mtx_lock(&screen->opencl_func_mutex); if (dri2_is_opencl_interop_loaded_locked(screen)) { pipe_mutex_unlock(screen->opencl_func_mutex); |