[PATCH 4/5] wined3d: Move the driver_quirk structure to directx.c.

Henri Verbeet hverbeet at codeweavers.com
Wed Jul 1 02:46:18 CDT 2009


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

diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c
index 1512a31..eda6854 100644
--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -4203,6 +4203,13 @@ static void quirk_clip_varying(WineD3D_GL_Info *gl_info) {
     gl_info->glsl_clip_varying = TRUE;
 }
 
+struct driver_quirk
+{
+    BOOL (*match)(const WineD3D_GL_Info *gl_info);
+    void (*apply)(WineD3D_GL_Info *gl_info);
+    const char *description;
+};
+
 struct driver_quirk quirk_table[] = {
     {
         match_ati_r300_to_500,
diff --git a/dlls/wined3d/wined3d_gl.h b/dlls/wined3d/wined3d_gl.h
index 9f508a8..2d3cc3a 100644
--- a/dlls/wined3d/wined3d_gl.h
+++ b/dlls/wined3d/wined3d_gl.h
@@ -4016,10 +4016,4 @@ typedef struct _WineD3D_GL_Info {
 } WineD3D_GL_Info;
 #undef USE_GL_FUNC
 
-struct driver_quirk {
-    BOOL        (*match)(const WineD3D_GL_Info *gl_info);
-    void        (*apply)(WineD3D_GL_Info *gl_info);
-    const char  *description;
-};
-
 #endif /* __WINE_WINED3D_GL */
-- 
1.6.0.6




More information about the wine-patches mailing list