[PATCH 1/5] d3d8: Retrieve the viewport from the primary stateblock.