[PATCH v2 6/7] d3d8: Handle stateblocks in d3d8_device_SetTexture().