summaryrefslogtreecommitdiffstats
path: root/src/egl/drivers
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2017-05-23 17:26:52 -0700
committerChad Versace <[email protected]>2017-05-31 10:45:57 -0700
commit22d6b08d2d9079dc74c5e8e8d3bbaac3bf582a11 (patch)
treebbe2193dd8fc09f7f224056ede01fd644b23ebd2 /src/egl/drivers
parent0bcdcebc8591af772d31107667efcbf5917d3f92 (diff)
egl/android: Drop unused 'format' param in get_back_bo()
Reviewed-by: Tapani Pälli <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/egl/drivers')
-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) {