ddraw: Forward AddAttachedSurface to the correct equivalent

paulo lesgaz jeremielapuree at yahoo.fr
Mon May 14 12:45:01 CDT 2012


Bug 3467 needs this change.

But I can write a small test. Would writing a test attaching an offscreen surface to another offscreen surface be enough to convince you of the correctness of the change?
Indeed, only Z-buffer surfaces can be attached in version 7 of the metho.

Thanks in advance

A+

David



________________________________
 De : Stefan Dösinger <stefandoesinger at gmx.at>
À : wine-devel at winehq.org 
Envoyé le : Lundi 14 mai 2012 16h53
Objet : Re: ddraw: Forward AddAttachedSurface to the correct equivalent
 
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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20120514/32b6e9c5/attachment.html>


More information about the wine-devel mailing list