Stefan Dösinger : wined3d: Move the scissor rect to the misc states.
Alexandre Julliard
julliard at winehq.org
Tue Jul 8 06:10:50 CDT 2008
Module: wine
Branch: master
Commit: 298c953b2574815711b6bf2edc5462f85c8226e9
URL: http://source.winehq.org/git/wine.git/?a=commit;h=298c953b2574815711b6bf2edc5462f85c8226e9
Author: Stefan Dösinger <stefan at codeweavers.com>
Date: Wed Jul 2 12:12:00 2008 -0500
wined3d: Move the scissor rect to the misc states.
---
dlls/wined3d/state.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/state.c b/dlls/wined3d/state.c
index c28edef..4b53282 100644
--- a/dlls/wined3d/state.c
+++ b/dlls/wined3d/state.c
@@ -4852,7 +4852,7 @@ const struct StateEntry FFPStateTable[] =
{ /* , STATE_ACTIVELIGHT(6) */ STATE_ACTIVELIGHT(6), light },
{ /* , STATE_ACTIVELIGHT(7) */ STATE_ACTIVELIGHT(7), light },
- { /* Scissor rect */ STATE_SCISSORRECT, scissorrect },
+ { /* Scissor rect */ STATE_SCISSORRECT, NULL },
/* Clip planes */
{ /* STATE_CLIPPLANE(0) */ STATE_CLIPPLANE(0), NULL },
{ /* STATE_CLIPPLANE(1) */ STATE_CLIPPLANE(1), NULL },
@@ -4905,6 +4905,7 @@ const struct StateEntryTemplate misc_state_template[] = {
{ STATE_STREAMSRC, { STATE_VDECL, streamsrc }},
{ STATE_VDECL, { STATE_VDECL, streamsrc }},
{ STATE_FRONTFACE, { STATE_FRONTFACE, frontface }},
+ { STATE_SCISSORRECT, { STATE_SCISSORRECT, scissorrect }},
{0 /* Terminate */, { 0, 0 }},
};
More information about the wine-cvs
mailing list