egl: inline DRI_TEX_BUFFER

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30494>
This commit is contained in:
Mike Blumenkrantz 2024-07-30 10:57:01 -04:00 committed by Marge Bot
parent cb018b6883
commit f6c649a0ef

View file

@ -1921,8 +1921,7 @@ dri2_bind_tex_image(_EGLDisplay *disp, _EGLSurface *surf, EGLint buffer)
assert(!"Unexpected texture target in dri2_bind_tex_image()");
}
dri2_dpy->tex_buffer->setTexBuffer2(dri2_ctx->dri_context, target, format,
dri_drawable);
dri_set_tex_buffer2(dri2_ctx->dri_context, target, format, dri_drawable);
mtx_unlock(&dri2_dpy->lock);