wined3d: Do not mark invalid blend matrices dirty.

This commit is contained in:
Henri Verbeet 2010-09-02 19:25:02 +02:00 committed by Alexandre Julliard
parent 5a7091b8f7
commit e998fffc8f
1 changed files with 3 additions and 1 deletions

View File

@ -2431,7 +2431,9 @@ static HRESULT WINAPI IWineD3DDeviceImpl_SetTransform(IWineD3DDevice *iface, W
/* Handled by the state manager */
}
IWineD3DDeviceImpl_MarkStateDirty(This, STATE_TRANSFORM(d3dts));
if (d3dts < WINED3DTS_WORLDMATRIX(This->adapter->gl_info.limits.blends))
IWineD3DDeviceImpl_MarkStateDirty(This, STATE_TRANSFORM(d3dts));
return WINED3D_OK;
}