Alexandre Julliard : wined3d: The WineD3D_GLContext structure doesn' t need to be exported.

Alexandre Julliard julliard at wine.codeweavers.com
Fri Oct 27 08:36:31 CDT 2006


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Fri Oct 27 14:42:17 2006 +0200

wined3d: The WineD3D_GLContext structure doesn't need to be exported.

---

 dlls/wined3d/directx.c    |    7 +++++++
 include/wine/wined3d_gl.h |    7 -------
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c
index 2ef2fd7..779dee8 100644
--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -66,6 +66,13 @@ DWORD *stateLookup[MAX_LOOKUPS];
 DWORD minMipLookup[WINED3DTEXF_ANISOTROPIC + 1][WINED3DTEXF_LINEAR + 1];
 
 
+typedef struct _WineD3D_GLContext {
+  GLXContext   glCtx;
+  Display*     display;
+  Drawable     drawable;
+  LONG         ref;
+} WineD3D_Context;
+
 
 /**
  * Note: GL seems to trap if GetDeviceCaps is called before any HWND's created
diff --git a/include/wine/wined3d_gl.h b/include/wine/wined3d_gl.h
index 8f29816..dbe5214 100644
--- a/include/wine/wined3d_gl.h
+++ b/include/wine/wined3d_gl.h
@@ -1795,13 +1795,6 @@ typedef struct _WineD3D_GL_Info {
 } WineD3D_GL_Info;
 #undef USE_GL_FUNC
 
-typedef struct _WineD3D_GLContext {
-  GLXContext   glCtx; 
-  Display*     display;
-  Drawable     drawable;
-  LONG         ref;
-} WineD3D_Context;
-
 #endif /* HAVE_OPENGL */
 
 #endif /* __WINE_WINED3D_GL */




More information about the wine-cvs mailing list