[D3D] Some surfaces related fixes

Christian Costa titan.costa at wanadoo.fr
Sun Nov 14 13:56:20 CST 2004


Mike Hearn wrote:

>On Sun, 14 Nov 2004 13:40:15 +0000, Christian Costa wrote:
>  
>
>>+    if ((pDDSD->dwFlags & DDSD_LPSURFACE) && (pDDSD->lpSurface == NULL)) {
>>+        /* Frank Herbert's Dune specifies a null pointer for the surface, ignore the LPSURFACE field */
>>+        FIXME("Null surface pointer specified, ignore it!\n");
>>+        pDDSD->dwFlags &= ~DDSD_LPSURFACE;
>>+    }
>>+
>>    
>>
>
>Apps passing in bogus data should normally be a trace or warn at most,
>unles there is actually something to fix here it doesn't make sense to use
>a fixme as it'll inevitably get users asking about it ....
>
>thanks -mike
>
>
>
>  
>
Your're right, Mike. :-)
I will resend a patch for that.

Thanks.
Christian






More information about the wine-patches mailing list