[PATCH 3/6] ddraw: Retrieve the viewport from the primary stateblock.