summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/egl/drivers/dri2/platform_android.c4
1 files changed, 2 insertions, 2 deletions
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) {