egl/android: Drop unused 'format' param in get_back_bo()
authorChad Versace <chadversary@chromium.org>
Wed, 24 May 2017 00:26:52 +0000 (17:26 -0700)
committerChad Versace <chadversary@chromium.org>
Wed, 31 May 2017 17:45:57 +0000 (10:45 -0700)
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/egl/drivers/dri2/platform_android.c

index bf476a6c56a29a5677bf8a047aad20a6c018e993..48ecb9fd40b89f8be63bcbb926267ec2441d0aab 100644 (file)
@@ -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) {