Henri Verbeet : wined3d: Mark the correct state dirty.

Alexandre Julliard julliard at winehq.org
Fri Aug 21 09:32:01 CDT 2009


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

Author: Henri Verbeet <hverbeet at codeweavers.com>
Date:   Fri Aug 21 09:12:26 2009 +0200

wined3d: Mark the correct state dirty.

---

 dlls/wined3d/context.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/wined3d/context.c b/dlls/wined3d/context.c
index ea664aa..be40f04 100644
--- a/dlls/wined3d/context.c
+++ b/dlls/wined3d/context.c
@@ -1849,7 +1849,7 @@ retry:
 
     if (context->render_offscreen != old_render_offscreen)
     {
-        Context_MarkStateDirty(context, WINED3DTS_PROJECTION, StateTable);
+        Context_MarkStateDirty(context, STATE_TRANSFORM(WINED3DTS_PROJECTION), StateTable);
         Context_MarkStateDirty(context, STATE_VDECL, StateTable);
         Context_MarkStateDirty(context, STATE_VIEWPORT, StateTable);
         Context_MarkStateDirty(context, STATE_SCISSORRECT, StateTable);




More information about the wine-cvs mailing list