[PATCH 3/4] d3d9: Retrieve light state from the primary stateblock.