[PATCH 1/2] ddraw: Return DDERR_WRONGMODE when restoring a lost device's primary surface.