Zebediah Figura : d3d9: Release the recording stateblock before calling wined3d_device_reset().