From: Ken Thomases Subject: [PATCH 3/3] winex11: Remove unused X11DRV_GET_DRAWABLE and struct x11drv_escape_get_drawable. Message-Id: Date: Mon, 31 Mar 2014 21:47:26 -0500 --- dlls/winex11.drv/init.c | 8 -------- dlls/winex11.drv/x11drv.h | 9 --------- 2 files changed, 17 deletions(-) diff --git a/dlls/winex11.drv/init.c b/dlls/winex11.drv/init.c index 5a7d316..8ff8507 100644 --- a/dlls/winex11.drv/init.c +++ b/dlls/winex11.drv/init.c @@ -360,14 +360,6 @@ static INT X11DRV_ExtEscape( PHYSDEV dev, INT escape, INT in_count, LPCVOID in_d return TRUE; } break; - case X11DRV_GET_DRAWABLE: - if (out_count >= sizeof(struct x11drv_escape_get_drawable)) - { - struct x11drv_escape_get_drawable *data = out_data; - data->drawable = physDev->drawable; - return TRUE; - } - break; case X11DRV_FLUSH_GL_DRAWABLE: if (in_count >= sizeof(struct x11drv_escape_flush_gl_drawable)) { diff --git a/dlls/winex11.drv/x11drv.h b/dlls/winex11.drv/x11drv.h index 7a3374d..c6b062c 100644 --- a/dlls/winex11.drv/x11drv.h +++ b/dlls/winex11.drv/x11drv.h @@ -274,7 +274,6 @@ extern void X11DRV_PALETTE_ComputeColorShifts(ColorShifts *shifts, unsigned long enum x11drv_escape_codes { X11DRV_SET_DRAWABLE, /* set current drawable for a DC */ - X11DRV_GET_DRAWABLE, /* get current drawable for a DC */ X11DRV_START_EXPOSURES, /* start graphics exposures */ X11DRV_END_EXPOSURES, /* end graphics exposures */ X11DRV_FLUSH_GL_DRAWABLE /* flush changes made to the gl drawable */ @@ -288,14 +287,6 @@ struct x11drv_escape_set_drawable RECT dc_rect; /* DC rectangle relative to drawable */ }; -struct x11drv_escape_get_drawable -{ - enum x11drv_escape_codes code; /* escape code (X11DRV_GET_DRAWABLE) */ - Drawable drawable; /* X drawable */ - Drawable gl_drawable; /* GL drawable */ - int pixel_format; /* internal GL pixel format */ -}; - struct x11drv_escape_flush_gl_drawable { enum x11drv_escape_codes code; /* escape code (X11DRV_FLUSH_GL_DRAWABLE) */