Skip to content

Commit

Permalink
winex11.drv: Remove unused X11DRV_GET_DRAWABLE ExtEscape code.
Browse files Browse the repository at this point in the history
  • Loading branch information
rbernon authored and ivyl committed Feb 9, 2022
1 parent 15cf1fe commit 96b8220
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 deletions.
8 changes: 0 additions & 8 deletions dlls/winex11.drv/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -222,14 +222,6 @@ static INT CDECL X11DRV_ExtEscape( PHYSDEV dev, INT escape, INT in_count, LPCVOI
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_PRESENT_DRAWABLE:
if (in_count >= sizeof(struct x11drv_escape_present_drawable))
{
Expand Down
9 changes: 0 additions & 9 deletions dlls/winex11.drv/x11drv.h
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,6 @@ extern int *get_window_surface_mapping( int bpp, int *mapping ) DECLSPEC_HIDDEN;
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_PRESENT_DRAWABLE, /* present the drawable on screen */
Expand All @@ -349,14 +348,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_present_drawable
{
enum x11drv_escape_codes code; /* escape code (X11DRV_PRESENT_DRAWABLE) */
Expand Down

0 comments on commit 96b8220

Please sign in to comment.