ddraw: Clear DDSD_LPSURFACE after surface creation.
This commit is contained in:
parent
17d1c0fbc7
commit
74b4b821ab
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue