TRACE("iface %p, flags %#x, data %p, data_size %p.\n", iface, flags, data, data_size);
+ if (buffer->version != 7)
+ flags &= ~(DDLOCK_NOOVERWRITE | DDLOCK_DISCARDCONTENTS);
+
/* Writeonly: Pointless. Event: Unsupported by native according to the sdk
* nosyslock: Not applicable
*/
* SrcIndex: Index of the first vertex in the src buffer to process
* D3DDevice: Device to use for transformation
* Flags: 0 for default, D3DPV_DONOTCOPYDATA to prevent copying
- * unchaned vertices
+ * unchanged vertices
*
* Returns:
* D3D_OK on success