[PATCH 1/2] d3drm: Implement IDirect3DRM*::CreateObject.

Henri Verbeet hverbeet at gmail.com
Mon Apr 18 10:59:12 CDT 2016


On 18 April 2016 at 17:45, Aaryaman Vasishta <jem456.vasishta at gmail.com> wrote:
> I thought it'd be a good idea to keep it void * for once future objects
> would be implemented (i.e. the one's that have todo marked as true in the
> tests).
That can't work in a sane way. You need a specific type because you
need to dereference the pointer to get at the interface. I.e., notice
how you're casting "object_struct" in every place where you use it.



More information about the wine-devel mailing list