[PATCH] WineD3D: Textureperspective->misc states=0A=

Stefan Doesinger stefan at codeweavers.com
Wed Jul 2 16:01:46 CDT 2008


=0A=
Not 100% sure about this, but neither ARBvp nor ARBfp mention that this =
is=0A=
replaced by shaders, so I put it into misc states=0A=
---=0A=
 dlls/wined3d/state.c |    3 ++-=0A=
 1 files changed, 2 insertions(+), 1 deletions(-)=0A=
=0A=
diff --git a/dlls/wined3d/state.c b/dlls/wined3d/state.c=0A=
index 6f406e0..32cdd3c 100644=0A=
--- a/dlls/wined3d/state.c=0A=
+++ b/dlls/wined3d/state.c=0A=
@@ -3826,7 +3826,7 @@ const struct StateEntry FFPStateTable[] =3D=0A=
     { /* 1,  WINED3DRS_TEXTUREHANDLE                */      0 /* =
Handled in ddraw */,                           state_undefined     },=0A=
     { /* 2,  WINED3DRS_ANTIALIAS                    */      =
STATE_RENDER(WINED3DRS_ANTIALIAS),                  NULL                =
},=0A=
     { /* 3,  WINED3DRS_TEXTUREADDRESS               */      0 /* =
Handled in ddraw */,                           state_undefined     },=0A=
-    { /* 4,  WINED3DRS_TEXTUREPERSPECTIVE           */      =
STATE_RENDER(WINED3DRS_TEXTUREPERSPECTIVE),         state_perspective   =
},=0A=
+    { /* 4,  WINED3DRS_TEXTUREPERSPECTIVE           */      =
STATE_RENDER(WINED3DRS_TEXTUREPERSPECTIVE),         NULL                =
},=0A=
     { /* 5,  WINED3DRS_WRAPU                        */      =
STATE_RENDER(WINED3DRS_WRAPU),                      state_wrapu         =
},=0A=
     { /* 6,  WINED3DRS_WRAPV                        */      =
STATE_RENDER(WINED3DRS_WRAPV),                      state_wrapv         =
},=0A=
     { /* 7,  WINED3DRS_ZENABLE                      */      =
STATE_RENDER(WINED3DRS_ZENABLE),                    state_zenable       =
},=0A=
@@ -4916,6 +4916,7 @@ const struct StateEntryTemplate =
misc_state_template[] =3D {=0A=
     { STATE_VIEWPORT,                                     { =
STATE_VIEWPORT,                                     viewport_miscpart   =
}},=0A=
     { STATE_INDEXBUFFER,                                  { =
STATE_INDEXBUFFER,                                  indexbuffer         =
}},=0A=
     { STATE_RENDER(WINED3DRS_ANTIALIAS),                  { =
STATE_RENDER(WINED3DRS_ANTIALIAS),                  state_antialias     =
}},=0A=
+    { STATE_RENDER(WINED3DRS_TEXTUREPERSPECTIVE),         { =
STATE_RENDER(WINED3DRS_TEXTUREPERSPECTIVE),         state_perspective   =
}},=0A=
     {0 /* Terminate */,                                   { 0,          =
                                        0                   }},=0A=
 };=0A=
 =0A=
-- =0A=
1.5.4.5=0A=
=0A=

------=_NextPart_000_001C_01C8E154.7B170DB0--




More information about the wine-patches mailing list