wined3d: Optimize render states in the stateblock.
3 files changed