blob: ba1b3fe5f1216f8230e9a7c442c97683e1a1ae6c [file] [log] [blame]
diff --git a/src/egl/drivers/dri2/egl_dri2.h b/src/egl/drivers/dri2/egl_dri2.h
index fa04e3bb616..aa0ace5424e 100644
--- a/src/egl/drivers/dri2/egl_dri2.h
+++ b/src/egl/drivers/dri2/egl_dri2.h
@@ -331,7 +331,7 @@ struct dri2_egl_surface
struct {
struct ANativeWindowBuffer *buffer;
int age;
- } color_buffers[3], *back;
+ } color_buffers[4], *back;
#endif
/* surfaceless and device */