Commit 74b4b821 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

ddraw: Clear DDSD_LPSURFACE after surface creation.

parent 17d1c0fb
......@@ -6080,6 +6080,8 @@ HRESULT ddraw_surface_init(struct ddraw_surface *surface, struct ddraw *ddraw, s
ERR("Failed to set surface memory, hr %#x.\n", hr);
return hr;
}
desc->dwFlags &= ~DDSD_LPSURFACE;
}
wined3d_surface_incref(wined3d_surface);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment