[PATCH v19 1/4] ddraw: Add a local buffer in d3d_device7_DrawPrimitive()