From: Chad Versace Date: Wed, 24 May 2017 00:26:52 +0000 (-0700) Subject: egl/android: Drop unused 'format' param in get_back_bo() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=22d6b08d2d9079dc74c5e8e8d3bbaac3bf582a11;p=mesa.git egl/android: Drop unused 'format' param in get_back_bo() Reviewed-by: Tapani Pälli Reviewed-by: Emil Velikov --- diff --git a/src/egl/drivers/dri2/platform_android.c b/src/egl/drivers/dri2/platform_android.c index bf476a6c56a..48ecb9fd40b 100644 --- a/src/egl/drivers/dri2/platform_android.c +++ b/src/egl/drivers/dri2/platform_android.c @@ -494,7 +494,7 @@ get_front_bo(struct dri2_egl_surface *dri2_surf, unsigned int format) } static int -get_back_bo(struct dri2_egl_surface *dri2_surf, unsigned int format) +get_back_bo(struct dri2_egl_surface *dri2_surf) { struct dri2_egl_display *dri2_dpy = dri2_egl_display(dri2_surf->base.Resource.Display); @@ -594,7 +594,7 @@ droid_image_get_buffers(__DRIdrawable *driDrawable, } if (buffer_mask & __DRI_IMAGE_BUFFER_BACK) { - if (get_back_bo(dri2_surf, format) < 0) + if (get_back_bo(dri2_surf) < 0) return 0; if (dri2_surf->dri_image_back) {