wined3d [try 2]: SetDepthStencilSurface is always called when AutoDepethStencilBuffer is enabled

Henri Verbeet hverbeet at gmail.com
Sun Mar 29 06:00:23 CDT 2009


2009/3/28 Stefan Dösinger <stefandoesinger at 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.



More information about the wine-devel mailing list