Henri Verbeet : wined3d: Move the driver_quirk structure to directx.c.

Alexandre Julliard julliard at winehq.org
Wed Jul 1 09:28:09 CDT 2009


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

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Wed Jul  1 09:46:18 2009 +0200

wined3d: Move the driver_quirk structure to directx.c.

---

 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 */




More information about the wine-cvs mailing list