mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 02:38:04 +02:00
egl/dri2: Respect the arguments to dri2_set_blob_cache_funcs
This is no functional change, since this is effectively what the caller is passing in, but it's still a layering violation. Reviewed-by: Eric Engestrom <eric@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18586>
This commit is contained in:
parent
14c6f716b4
commit
6c6a37ef94
1 changed files with 1 additions and 3 deletions
|
|
@ -3648,9 +3648,7 @@ dri2_set_blob_cache_funcs(_EGLDisplay *disp,
|
|||
EGLGetBlobFuncANDROID get)
|
||||
{
|
||||
struct dri2_egl_display *dri2_dpy = dri2_egl_display_lock(disp);
|
||||
dri2_dpy->blob->set_cache_funcs(dri2_dpy->dri_screen,
|
||||
disp->BlobCacheSet,
|
||||
disp->BlobCacheGet);
|
||||
dri2_dpy->blob->set_cache_funcs(dri2_dpy->dri_screen, set, get);
|
||||
mtx_unlock(&dri2_dpy->lock);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue