Stefan Dösinger : wined3d: Do not copy the saved states structure into the primary stateblock.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Aug 14 07:12:54 CDT 2007


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

Author: Stefan Dösinger <stefan at codeweavers.com>
Date:   Tue Jul 31 17:14:18 2007 +0200

wined3d: Do not copy the saved states structure into the primary stateblock.

---

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

diff --git a/dlls/wined3d/stateblock.c b/dlls/wined3d/stateblock.c
index 0c0965b..5b98ff7 100644
--- a/dlls/wined3d/stateblock.c
+++ b/dlls/wined3d/stateblock.c
@@ -807,7 +807,6 @@ should really perform a delta so that only the changes get updated*/
                                       This->renderState[This->contained_render_states[i]]);
     }
 
-    stateblock_savedstates_copy(iface, &((IWineD3DDeviceImpl*)pDevice)->stateBlock->changed, &This->changed);
     ((IWineD3DDeviceImpl *)pDevice)->stateBlock->lowest_disabled_stage = MAX_TEXTURES - 1;
     for(j = 0; j < MAX_TEXTURES - 1; j++) {
         if(((IWineD3DDeviceImpl *)pDevice)->stateBlock->textureState[j][WINED3DTSS_COLOROP] == WINED3DTOP_DISABLE) {




More information about the wine-cvs mailing list