Henri Verbeet : wined3d: Update the WINED3DSAMP_MAGFILTER state even if we didn' t recognize the value.
Alexandre Julliard
julliard at winehq.org
Tue Aug 4 12:25:02 CDT 2009
Module: wine
Branch: master
Commit: efb78aca64dbbc87fa131537904fcc58cdf0b864
URL: http://source.winehq.org/git/wine.git/?a=commit;h=efb78aca64dbbc87fa131537904fcc58cdf0b864
Author: Henri Verbeet <hverbeet at codeweavers.com>
Date: Tue Aug 4 08:30:22 2009 +0200
wined3d: Update the WINED3DSAMP_MAGFILTER state even if we didn't recognize the value.
It's a bit pointless to keep printing FIXMEs after the first time.
---
dlls/wined3d/basetexture.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wined3d/basetexture.c b/dlls/wined3d/basetexture.c
index 29fc333..2509a58 100644
--- a/dlls/wined3d/basetexture.c
+++ b/dlls/wined3d/basetexture.c
@@ -381,8 +381,8 @@ void basetexture_apply_state_changes(IWineD3DBaseTexture *iface,
glValue = This->baseTexture.magLookup[state - WINED3DTEXF_NONE];
TRACE("ValueMAG=%d setting MAGFILTER to %x\n", state, glValue);
glTexParameteri(textureDimensions, GL_TEXTURE_MAG_FILTER, glValue);
- states[WINED3DTEXSTA_MAGFILTER] = state;
}
+ states[WINED3DTEXSTA_MAGFILTER] = state;
}
if((samplerStates[WINED3DSAMP_MINFILTER] != states[WINED3DTEXSTA_MINFILTER] ||
More information about the wine-cvs
mailing list