[D3D] Some surfaces related fixes

Mike Hearn mike at navi.cx
Sun Nov 14 07:54:54 CST 2004


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




More information about the wine-patches mailing list