On 20 March 2014 12:28, Stefan Dösinger stefan@codeweavers.com wrote:
- if (stored_data->flags & WINED3DSPD_IUNKNOWN)
- {
*(IUnknown **)data = stored_data->content.object;
IUnknown_AddRef(*(IUnknown **)data);
- }
- else
memcpy(data, stored_data->content.data, stored_data->size);
+ if (stored_data->flags & WINED3DSPD_IUNKNOWN) + IUnknown_AddRef(stored_data->content.object); + memcpy(data, stored_data->content.data, stored_data->size);