-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 08/17/2014 10:01 AM, Nikolay Sivov wrote:
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.
Correct. One of my scripts has detected the comparison to self. I pinged Stefan and he wanted to look at it but seems that it got forgotten. There might be even emails on wine-devel about this >1 year ago.
bye michael