On 20 June 2013 12:17, Stefan Dösinger stefan@codeweavers.com wrote:
- return IDirect3DDevice7_DrawPrimitive(&device->IDirect3DDevice7_iface, device->primitive_type,
- return IDirect3DDevice3_DrawPrimitive(&device->IDirect3DDevice3_iface, device->primitive_type, device->vertex_type, device->sysmem_vertex_buffer, device->nb_vertices, device->render_flags);
This is not introduced by your patch of course, but I don't think there's much of a point in going through the vtbl here.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Am 2013-06-20 13:02, schrieb Henri Verbeet:
On 20 June 2013 12:17, Stefan Dösinger stefan@codeweavers.com wrote:
- return
IDirect3DDevice7_DrawPrimitive(&device->IDirect3DDevice7_iface, device->primitive_type, + return IDirect3DDevice3_DrawPrimitive(&device->IDirect3DDevice3_iface, device->primitive_type, device->vertex_type, device->sysmem_vertex_buffer, device->nb_vertices, device->render_flags);
This is not introduced by your patch of course, but I don't think there's much of a point in going through the vtbl here.
Right. Although it made sense for calling device7 because of the fpu_preserve and fpu_setup vtables.