[PATCH 2/2] egl_dri2: Remove the unused swap_interval member of dri2_egl_surface

Neil Roberts neil at linux.intel.com
Wed Sep 11 11:28:32 PDT 2013


The _EGLSurface struct which is embedded into dri2_egl_surface also contains a
swap interval member so the other member is redundant. Nothing was using it as
far as I can tell.
---
 src/egl/drivers/dri2/egl_dri2.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/egl/drivers/dri2/egl_dri2.h b/src/egl/drivers/dri2/egl_dri2.h
index 849927b..8b3d82d 100644
--- a/src/egl/drivers/dri2/egl_dri2.h
+++ b/src/egl/drivers/dri2/egl_dri2.h
@@ -159,7 +159,6 @@ struct dri2_egl_surface
    __DRIbuffer          buffers[5];
    int                  buffer_count;
    int                  have_fake_front;
-   int                  swap_interval;
 
 #ifdef HAVE_X11_PLATFORM
    xcb_drawable_t       drawable;
-- 
1.8.3.1



More information about the wayland-devel mailing list