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.
This commit is contained in:
parent
10906e6b8e
commit
efb78aca64
|
@ -381,8 +381,8 @@ void basetexture_apply_state_changes(IWineD3DBaseTexture *iface,
|
||||||
glValue = This->baseTexture.magLookup[state - WINED3DTEXF_NONE];
|
glValue = This->baseTexture.magLookup[state - WINED3DTEXF_NONE];
|
||||||
TRACE("ValueMAG=%d setting MAGFILTER to %x\n", state, glValue);
|
TRACE("ValueMAG=%d setting MAGFILTER to %x\n", state, glValue);
|
||||||
glTexParameteri(textureDimensions, GL_TEXTURE_MAG_FILTER, glValue);
|
glTexParameteri(textureDimensions, GL_TEXTURE_MAG_FILTER, glValue);
|
||||||
states[WINED3DTEXSTA_MAGFILTER] = state;
|
|
||||||
}
|
}
|
||||||
|
states[WINED3DTEXSTA_MAGFILTER] = state;
|
||||||
}
|
}
|
||||||
|
|
||||||
if((samplerStates[WINED3DSAMP_MINFILTER] != states[WINED3DTEXSTA_MINFILTER] ||
|
if((samplerStates[WINED3DSAMP_MINFILTER] != states[WINED3DTEXSTA_MINFILTER] ||
|
||||||
|
|
Loading…
Reference in New Issue