summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/egl/drivers/dri2/platform_android.c2
-rw-r--r--src/egl/drivers/dri2/platform_surfaceless.c2
2 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 41840aa7b2a..c00b2c2d89c 100644
--- a/src/egl/drivers/dri2/platform_android.c
+++ b/src/egl/drivers/dri2/platform_android.c
@@ -514,7 +514,7 @@ droid_get_buffers_with_format(__DRIdrawable * driDrawable,
if (height)
*height = dri2_surf->base.Height;
- *out_count = dri2_surf->buffer_count;;
+ *out_count = dri2_surf->buffer_count;
return dri2_surf->buffers;
}
diff --git a/src/egl/drivers/dri2/platform_surfaceless.c b/src/egl/drivers/dri2/platform_surfaceless.c
index 48f15df75a1..e0ddc12e53e 100644
--- a/src/egl/drivers/dri2/platform_surfaceless.c
+++ b/src/egl/drivers/dri2/platform_surfaceless.c
@@ -68,7 +68,7 @@ surfaceless_get_buffers_with_format(__DRIdrawable * driDrawable,
*width = dri2_surf->base.Width;
if (height)
*height = dri2_surf->base.Height;
- *out_count = dri2_surf->buffer_count;;
+ *out_count = dri2_surf->buffer_count;
return dri2_surf->buffers;
}