[PATCH 3/4] d3d8: Handle stateblocks in d3d8_device_SetMaterial().