Alexandre Julliard : winex11.drv: Get rid of the unused set_drawable function.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Dec 12 08:42:12 CST 2006


Module: wine
Branch: master
Commit: 0ab559047942892191d1916ba4dfda0747eee359
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0ab559047942892191d1916ba4dfda0747eee359

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Dec 12 15:37:32 2006 +0100

winex11.drv: Get rid of the unused set_drawable function.

---

 dlls/winex11.drv/opengl.c |   13 -------------
 1 files changed, 0 insertions(+), 13 deletions(-)

diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c
index ac3aa99..3b67c79 100644
--- a/dlls/winex11.drv/opengl.c
+++ b/dlls/winex11.drv/opengl.c
@@ -530,19 +530,6 @@ inline static Drawable get_drawable( HDC
     return drawable;
 }
 
-inline static void set_drawable( HDC hdc, Drawable drawable )
-{
-    struct x11drv_escape_set_drawable escape;
-
-    escape.code = X11DRV_SET_DRAWABLE;
-    escape.drawable = drawable;
-    escape.mode = IncludeInferiors;
-    ZeroMemory(&escape.dc_rect, sizeof(escape.dc_rect));
-    ZeroMemory(&escape.drawable_rect, sizeof(escape.drawable_rect));
-
-    ExtEscape( hdc, X11DRV_ESCAPE, sizeof(escape), (LPCSTR)&escape, 0, NULL );
-}
-
 /**
  * get_hdc_from_Drawable (internal)
  *




More information about the wine-cvs mailing list