ddraw: Forward AddAttachedSurface to the correct equivalent

Matteo Bruni matteo.mystral at gmail.com
Mon May 14 13:58:43 CDT 2012


2012/5/14 Stefan Dösinger <stefandoesinger at gmx.at>:
> Am Sonntag, 13. Mai 2012, 20:39:27 schrieb David Adam:
>> +    hr = ddraw_surface3_AddAttachedSurface(&This-
>>IDirectDrawSurface3_iface,
>> +            attachment_impl ? &attachment_impl->IDirectDrawSurface3_iface :
> NULL);
> It isn't immediately clear to me why Surface3 is correct instead of Surface7.
> Do you have tests or bug reports to back this up?
>

I think it is for http://bugs.winehq.org/show_bug.cgi?id=3467, but
probably a test would still help. Also maybe it should be implemented
the other way around i.e. surface3_AddAttachedSurface calling into
surface4_AddAttachedSurface.



More information about the wine-devel mailing list