[PATCH 3/6] wined3d: Update the WINED3DSAMP_MAGFILTER state even if we didn't recognize the value.
Henri Verbeet
hverbeet at codeweavers.com
Tue Aug 4 01:30:22 CDT 2009
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] ||
--
1.6.0.6
More information about the wine-patches
mailing list