[PATCH 3/7] ddraw: Fix IDirectDraw_CreateSurface's invalid descriptor error code.
Henri Verbeet
hverbeet at gmail.com
Wed Feb 15 07:49:32 CST 2017
On 15 February 2017 at 07:53, Alex Henrie <alexhenrie24 at gmail.com> wrote:
> @@ -3000,7 +3000,7 @@ static HRESULT WINAPI ddraw1_CreateSurface(IDirectDraw *iface,
> {
> WARN("Application supplied invalid surface descriptor\n");
> wined3d_mutex_unlock();
> - return DDERR_INVALIDPARAMS;
> + return E_INVALIDARG;
Did you verify the test fails without this change? How is
DDERR_INVALIDPARAMS defined?
More information about the wine-devel
mailing list