Matteo Bruni : d3d9: Store primary stateblock state pointer in the device.