[Mesa-dev] [PATCH 2/2] egl/android: Drop unused 'format' param in get_back_bo()
Chad Versace
chadversary at chromium.org
Fri May 26 22:09:33 UTC 2017
---
src/egl/drivers/dri2/platform_android.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/egl/drivers/dri2/platform_android.c b/src/egl/drivers/dri2/platform_android.c
index e76e1678a8..4fed751eae 100644
--- a/src/egl/drivers/dri2/platform_android.c
+++ b/src/egl/drivers/dri2/platform_android.c
@@ -489,7 +489,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);
@@ -589,7 +589,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) {
--
2.13.0
More information about the mesa-dev
mailing list