From 1361ab3c82df5b3eda50d6d2a5cc16c0ac8ffd2d Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Tue, 27 Nov 2018 12:48:42 +0000 Subject: egl: drop unnecessary function deref Signed-off-by: Eric Engestrom Reviewed-by: Adam Jackson --- src/egl/drivers/dri2/egl_dri2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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"); -- cgit v1.2.3