ddraw/tests: Correct test condition (PVS-Studio)
Nikolay Sivov
nsivov at codeweavers.com
Sun Aug 17 03:01:14 CDT 2014
> rc = IDirectDrawSurface_GetSurfaceDesc(lpDst, &ddsd3);
> ok(rc == DD_OK, "IDirectDrawSurface_GetSurfaceDesc between a lock/unlock pair returned %08x\n", rc);
> - ok(ddsd3.lpSurface == ddsd3.lpSurface, "lpSurface from GetSurfaceDesc(%p) differs from the one returned by Lock(%p)\n", ddsd3.lpSurface, ddsd2.lpSurface);
> + ok(ddsd3.lpSurface == ddsd2.lpSurface, "lpSurface from GetSurfaceDesc(%p) differs from the one returned by Lock(%p)\n", ddsd3.lpSurface, ddsd2.lpSurface);
So I guess it means test is incorrect, and implementation too.
More information about the wine-devel
mailing list