[PATCH] ddraw/tests: Only set DDSCAPS_OVERLAY if supported.

Henri Verbeet hverbeet at gmail.com
Mon Mar 10 10:01:15 CDT 2014

On 10 March 2014 14:46, Stefan Dösinger <stefan at codeweavers.com> wrote:
> +    hr = IDirectDraw4_GetCaps(ddraw, &hal_caps, &hel_caps);
You're not using "hel_caps".

> +                    if (!overlay_support)
> +                        ddsd.ddsCaps.dwCaps &= ~DDSCAPS_OVERLAY;
This will result in trying to create a surface with just
DDSCAPS_VIDEOMEMORY set in the caps. What kind of surface do you
expect that to create?

More information about the wine-devel mailing list