From: Eric Engestrom Date: Tue, 27 Nov 2018 12:48:42 +0000 (+0000) Subject: egl: drop unnecessary function deref X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1361ab3c82df5b3eda50d6d2a5cc16c0ac8ffd2d;p=mesa.git egl: drop unnecessary function deref Signed-off-by: Eric Engestrom Reviewed-by: Adam Jackson --- diff --git a/src/egl/drivers/dri2/egl_dri2.c b/src/egl/drivers/dri2/egl_dri2.c index 918d61a1e9b..a2f8a38bebf 100644 --- a/src/egl/drivers/dri2/egl_dri2.c +++ b/src/egl/drivers/dri2/egl_dri2.c @@ -1448,8 +1448,8 @@ dri2_create_drawable(struct dri2_egl_display *dri2_dpy, else return _eglError(EGL_BAD_ALLOC, "no createNewDrawable"); - dri2_surf->dri_drawable = (*createNewDrawable)(dri2_dpy->dri_screen, - config, loaderPrivate); + dri2_surf->dri_drawable = createNewDrawable(dri2_dpy->dri_screen, + config, loaderPrivate); if (dri2_surf->dri_drawable == NULL) return _eglError(EGL_BAD_ALLOC, "createNewDrawable");