2009/3/28 Stefan Dösinger stefandoesinger@gmx.at:
Am Samstag, 28. März 2009 14:58:28 schrieb Stefan Dösinger:
Am Samstag, 28. März 2009 14:39:15 schrieb David Adam:
- hrc = IWineD3DDeviceImpl_CreateSurface(iface,
...
- This->parent);
You'll have to use a callback function similarly to the CreateDevice callback to tell d3d8 / d3d9 to create one of their surface structures and call wined3d to create a wined3d surface.
Actually, the code changed a little. You'll have to use IWineD3DDeviceParent_CreateSurface I think
For consistency IWineD3DDeviceParent_CreateDepthStencilSurface() would be best.