[PATCH 1/6] ddraw: Retrieve the material from the primary stateblock.