Stefan Dösinger : wined3d: Do not enable the texture dimensions in BindTexture.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Dec 20 12:24:43 CST 2006


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

Author: Stefan Dösinger <stefan at codeweavers.com>
Date:   Tue Dec 19 22:53:26 2006 +0100

wined3d: Do not enable the texture dimensions in BindTexture.

---

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

diff --git a/dlls/wined3d/basetexture.c b/dlls/wined3d/basetexture.c
index 3fdbf4a..9b9b5d7 100644
--- a/dlls/wined3d/basetexture.c
+++ b/dlls/wined3d/basetexture.c
@@ -236,11 +236,6 @@ HRESULT WINAPI IWineD3DBaseTextureImpl_B
 
     textureDimensions = IWineD3DBaseTexture_GetTextureDimensions(iface);
     ENTER_GL();
-#if 0 /* TODO: context manager support */
-     IWineD3DContextManager_PushState(This->contextManager, textureDimensions, ENABLED, NOW /* make sure the state is applied now */);
-#else
-    glEnable(textureDimensions);
-#endif
 
     /* Generate a texture name if we don't already have one */
     if (This->baseTexture.textureName == 0) {




More information about the wine-cvs mailing list