Commit edfe5d68 authored by Stefan Dösinger's avatar Stefan Dösinger Committed by Alexandre Julliard

wined3d: Store the private data in IWineD3DResource::SetPrivateData.

parent 4e796854
......@@ -126,6 +126,8 @@ HRESULT WINAPI IWineD3DResourceImpl_SetPrivateData(IWineD3DResource *iface, REFG
HeapFree(GetProcessHeap(), 0, *data);
return E_OUTOFMEMORY;
}
(*data)->size = SizeOfData;
memcpy((*data)->ptr.data, pData, SizeOfData);
}
/* link it in */
(*data)->next = This->resource.privateData;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment