[PATCH 2/3] d3drm: Implement IDirect3DRMFrame*::GetScene. (v6)

Henri Verbeet hverbeet at gmail.com
Mon Aug 15 05:07:56 CDT 2016


On 12 August 2016 at 01:09, Aaryaman Vasishta <jem456.vasishta at gmail.com> wrote:
> +    IDirect3DRMFrame3_AddRef(*scene = &frame->IDirect3DRMFrame3_iface);
Actually, sorry, you probably shouldn't do that in d3drm. The d3drm
headers are written by hand, so IDirect3DRMFrame3_AddRef() is a macro
instead of an inline function. That means that when this expands the
assignment happens twice.



More information about the wine-devel mailing list