ddraw: Clear DDSD_LPSURFACE after surface creation.

This commit is contained in:
Henri Verbeet 2014-03-05 10:46:35 +01:00 committed by Alexandre Julliard
parent 17d1c0fbc7
commit 74b4b821ab
1 changed files with 2 additions and 0 deletions

View File

@ -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);