[PATCH] WineD3D: Move the scissor rect to the misc states=0A=
Stefan Doesinger
stefan at codeweavers.com
Wed Jul 2 12:12:00 CDT 2008
=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 c28edef..4b53282 100644=0A=
--- a/dlls/wined3d/state.c=0A=
+++ b/dlls/wined3d/state.c=0A=
@@ -4852,7 +4852,7 @@ const struct StateEntry FFPStateTable[] =3D=0A=
{ /* , STATE_ACTIVELIGHT(6) */ =
STATE_ACTIVELIGHT(6), light =
},=0A=
{ /* , STATE_ACTIVELIGHT(7) */ =
STATE_ACTIVELIGHT(7), light =
},=0A=
=0A=
- { /* Scissor rect */ =
STATE_SCISSORRECT, scissorrect =
},=0A=
+ { /* Scissor rect */ =
STATE_SCISSORRECT, NULL =
},=0A=
/* Clip planes */=0A=
{ /* STATE_CLIPPLANE(0) */ =
STATE_CLIPPLANE(0), NULL =
},=0A=
{ /* STATE_CLIPPLANE(1) */ =
STATE_CLIPPLANE(1), NULL =
},=0A=
@@ -4905,6 +4905,7 @@ const struct StateEntryTemplate =
misc_state_template[] =3D {=0A=
{ STATE_STREAMSRC, { =
STATE_VDECL, streamsrc =
}},=0A=
{ STATE_VDECL, { =
STATE_VDECL, streamsrc =
}},=0A=
{ STATE_FRONTFACE, { =
STATE_FRONTFACE, frontface =
}},=0A=
+ { STATE_SCISSORRECT, { =
STATE_SCISSORRECT, scissorrect =
}},=0A=
{0 /* Terminate */, { 0, =
0 }},=0A=
};=0A=
=0A=
-- =0A=
1.5.4.5=0A=
=0A=
------=_NextPart_000_0095_01C8E027.722087A0--
More information about the wine-patches
mailing list