Stefan Dösinger : wined3d: Remove empty texture stage applying loop.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Feb 15 12:52:22 CST 2007


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

Author: Stefan Dösinger <stefan at codeweavers.com>
Date:   Thu Feb 15 13:48:47 2007 +0100

wined3d: Remove empty texture stage applying loop.

---

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

diff --git a/dlls/wined3d/basetexture.c b/dlls/wined3d/basetexture.c
index 9b9b5d7..c55ceda 100644
--- a/dlls/wined3d/basetexture.c
+++ b/dlls/wined3d/basetexture.c
@@ -444,25 +444,6 @@ void WINAPI IWineD3DBaseTextureImpl_ApplyStateChanges(IWineD3DBaseTexture *iface
         }
         state++;
     }
-
-    for(i = 0 ;textureObjectTextureStates[i].state != - 1; i++) {
-        if(*state != textureStates[textureObjectTextureStates[i].state] ) {
-            /* apply the state */
-            *state = textureStates[textureObjectTextureStates[i].state];
-            switch (textureObjectTextureStates[i].function) {
-            case WINED3DTSS_ADDRESSW:
-            /* I'm not sure what to do if this is set as well as ADDRESSW on the sampler, how do they interact together? */
-            break;
-            case WINED3DFUNC_UNIMPLEMENTED: /* unimplemented */
-            TRACE("(%p) : stub\n", This);
-            break;
-            case WINED3DFUNC_NOTSUPPORTED: /* nop */
-            TRACE("(%p) : function no supported by this opengl implementation\n", This);
-            break;
-            }
-        }
-        state++;
-    }
 }
 
 




More information about the wine-cvs mailing list