diff options
author | Benjamin Franzke <[email protected]> | 2011-08-31 11:40:50 +0200 |
---|---|---|
committer | Benjamin Franzke <[email protected]> | 2011-08-31 11:45:34 +0200 |
commit | f811c1e6d637a556f36271ee4abeb30aaeb07204 (patch) | |
tree | 53058041dfa772c426c6d050356acbf92251813c /src/egl/drivers/dri2/egl_dri2.h | |
parent | 93d59637446ba98802fa349afc1f365d71a66c9d (diff) |
egl_dri2: Drop dri2_surface_type enum
Was only used in platform_wayland, and the remaining egl stack
uses _EGLSurface::Type with one of EGL_{WINDOW,PIXMAP,PBUFFER}_BIT.
Diffstat (limited to 'src/egl/drivers/dri2/egl_dri2.h')
-rw-r--r-- | src/egl/drivers/dri2/egl_dri2.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/egl/drivers/dri2/egl_dri2.h b/src/egl/drivers/dri2/egl_dri2.h index 2f03445ba38..55b1256f6be 100644 --- a/src/egl/drivers/dri2/egl_dri2.h +++ b/src/egl/drivers/dri2/egl_dri2.h @@ -133,12 +133,6 @@ enum wayland_buffer_type { }; #endif -enum dri2_surface_type { - DRI2_WINDOW_SURFACE, - DRI2_PIXMAP_SURFACE, - DRI2_PBUFFER_SURFACE -}; - struct dri2_egl_surface { _EGLSurface base; @@ -157,7 +151,6 @@ struct dri2_egl_surface xcb_gcontext_t swapgc; #endif - enum dri2_surface_type type; #ifdef HAVE_WAYLAND_PLATFORM struct wl_egl_window *wl_win; struct wl_egl_pixmap *wl_pix; |