Stefan Dösinger : wined3d: Dirtify the correct state.

Alexandre Julliard julliard at winehq.org
Fri Aug 7 08:49:37 CDT 2009


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

Author: Stefan Dösinger <stefan at codeweavers.com>
Date:   Fri Aug  7 12:18:10 2009 +0200

wined3d: Dirtify the correct state.

---

 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 aa1518e..0737079 100644
--- a/dlls/wined3d/context.c
+++ b/dlls/wined3d/context.c
@@ -1651,7 +1651,7 @@ static inline void SetupForBlit(IWineD3DDeviceImpl *This, struct wined3d_context
     }
     glColorMask(GL_TRUE, GL_TRUE,GL_TRUE,GL_TRUE);
     checkGLcall("glColorMask");
-    Context_MarkStateDirty(context, STATE_RENDER(WINED3DRS_CLIPPING), StateTable);
+    Context_MarkStateDirty(context, STATE_RENDER(WINED3DRS_COLORWRITEENABLE), StateTable);
     if (GL_SUPPORT(EXT_SECONDARY_COLOR)) {
         glDisable(GL_COLOR_SUM_EXT);
         Context_MarkStateDirty(context, STATE_RENDER(WINED3DRS_SPECULARENABLE), StateTable);




More information about the wine-cvs mailing list