From: Neil Roberts Date: Wed, 11 Sep 2013 18:28:32 +0000 (+0100) Subject: egl_dri2: Remove the unused swap_interval member of dri2_egl_surface X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0b7058c46abe615f4035633dd4eee417d1553c06;p=mesa.git egl_dri2: Remove the unused swap_interval member of dri2_egl_surface 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. --- diff --git a/src/egl/drivers/dri2/egl_dri2.h b/src/egl/drivers/dri2/egl_dri2.h index 522a0fd7c98..d29dd982b78 100644 --- a/src/egl/drivers/dri2/egl_dri2.h +++ b/src/egl/drivers/dri2/egl_dri2.h @@ -160,7 +160,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;