Commit 9364f80b authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

ddraw: Failing surface creation is not an internal error.

parent 86609976
...@@ -3144,9 +3144,9 @@ static HRESULT WINAPI ddraw7_CreateSurface(IDirectDraw7 *iface, ...@@ -3144,9 +3144,9 @@ static HRESULT WINAPI ddraw7_CreateSurface(IDirectDraw7 *iface,
/* Create the first surface */ /* Create the first surface */
hr = ddraw_create_surface(This, &desc2, &object, 0); hr = ddraw_create_surface(This, &desc2, &object, 0);
if( hr != DD_OK) if (FAILED(hr))
{ {
ERR("ddraw_create_surface failed, hr %#x.\n", hr); WARN("ddraw_create_surface failed, hr %#x.\n", hr);
LeaveCriticalSection(&ddraw_cs); LeaveCriticalSection(&ddraw_cs);
return hr; return hr;
} }
......
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