diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c index 2ef2fd7d894..779dee8279a 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 8f298166594..dbe52143dfb 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 */