projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19190c2
)
egl_dri2: Remove the unused swap_interval member of dri2_egl_surface
author
Neil Roberts
<neil@linux.intel.com>
Wed, 11 Sep 2013 18:28:32 +0000
(19:28 +0100)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Tue, 10 Dec 2013 00:14:32 +0000
(16:14 -0800)
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
patch
|
blob
|
history
diff --git
a/src/egl/drivers/dri2/egl_dri2.h
b/src/egl/drivers/dri2/egl_dri2.h
index 522a0fd7c9895d7a58a11bdc14055ffa95600a06..d29dd982b786a502e2d2c9ebb41473fbb0dd0d28 100644
(file)
--- 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;