[PATCH v16 1/2] ddraw: Add a local buffer in d3d_device7_DrawPrimitive()