Roderick Colenbrander : winex11.drv: Remove get_drawable.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Jan 2 06:45:53 CST 2007


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

Author: Roderick Colenbrander <thunderbird2k at gmx.net>
Date:   Mon Jan  1 22:37:54 2007 +0100

winex11.drv: Remove get_drawable.

---

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

diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c
index 384a29b..e0ce8b0 100644
--- a/dlls/winex11.drv/opengl.c
+++ b/dlls/winex11.drv/opengl.c
@@ -529,21 +529,6 @@ static inline Wine_GLContext *get_contex
 }
 
 /**
- * get_drawable (internal)
- *
- * Retrieve the GLX drawable to use on a given DC.
- */
-inline static Drawable get_drawable( HDC hdc )
-{
-    GLXDrawable drawable;
-    enum x11drv_escape_codes escape = X11DRV_GET_GLX_DRAWABLE;
-
-    if (!ExtEscape( hdc, X11DRV_ESCAPE, sizeof(escape), (LPCSTR)&escape,
-                    sizeof(drawable), (LPSTR)&drawable )) drawable = 0;
-    return drawable;
-}
-
-/**
  * get_hdc_from_Drawable (internal)
  *
  * For use by wglGetCurrentReadDCARB.




More information about the wine-cvs mailing list