[PATCH] Get rid of some remaining X/GLX stuff in opengl32.dll
Roderick Colenbrander
thunderbird2k at gmx.net
Wed Apr 30 14:06:13 CDT 2008
---
dlls/opengl32/opengl_ext.h | 1 -
dlls/opengl32/wgl.c | 3 ---
dlls/winex11.drv/opengl.c | 2 +-
3 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/dlls/opengl32/opengl_ext.h b/dlls/opengl32/opengl_ext.h
index 93afd05..8ae7c2f 100644
--- a/dlls/opengl32/opengl_ext.h
+++ b/dlls/opengl32/opengl_ext.h
@@ -26,7 +26,6 @@
#define XMD_H /* This is to prevent the Xmd.h inclusion bug :-/ */
#define GL_GLEXT_PROTOTYPES
#include <GL/gl.h>
-#include <GL/glx.h>
#ifdef HAVE_GL_GLEXT_H
# include <GL/glext.h>
#endif
diff --git a/dlls/opengl32/wgl.c b/dlls/opengl32/wgl.c
index d9f7afc..2702d97 100644
--- a/dlls/opengl32/wgl.c
+++ b/dlls/opengl32/wgl.c
@@ -96,9 +96,6 @@ static char* internal_gl_extensions = NULL;
typedef struct wine_glcontext {
HDC hdc;
- XVisualInfo *vis;
- GLXFBConfig fb_conf;
- GLXContext ctx;
BOOL do_escape;
/* ... more stuff here */
} Wine_GLContext;
diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c
index cf5dff7..dbe66f1 100644
--- a/dlls/winex11.drv/opengl.c
+++ b/dlls/winex11.drv/opengl.c
@@ -104,10 +104,10 @@ typedef struct wine_glpixelformat {
typedef struct wine_glcontext {
HDC hdc;
+ BOOL do_escape;
XVisualInfo *vis;
WineGLPixelFormat *fmt;
GLXContext ctx;
- BOOL do_escape;
HDC read_hdc;
Drawable drawables[2];
BOOL refresh_drawables;
--
1.5.3.4
--========GMX116261209575038897020--
More information about the wine-patches
mailing list