On 10 March 2014 14:46, Stefan Dösinger stefan@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?