-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
You forgot to fix some IDirectDrawSurface2 macros. Otherwise this looks good. Thanks again for your work!
Stefan
Am 2014-06-29 16:37, schrieb Patrick Rudolph:
hr = IDirectDraw2_CreateSurface(ddraw, &surfacedesc, &surface, NULL);
ok(hr == tests[i].hr, "Pixelformat %s, test %d returned %08x\n", formats[j].name, i, hr);
if (surface)
{
IDirectDrawSurface2_Release(surface);
surface = NULL;
}
...
- hr = IDirectDraw2_CreateSurface(ddraw, &surfacedesc, &surface, NULL);
- ok(SUCCEEDED(hr), "CreateSurface returned %08x\n", hr);
- if (surface)
- {
hr = IDirectDrawSurface2_GetSurfaceDesc(surface, &surfacedesc);
ok(SUCCEEDED(hr), "GetSurfaceDesc returned %x\n", hr);
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
Comment: Using GnuPG with Thunderbird -
http://www.enigmail.net/
iQIcBAEBAgAGBQJTsTBWAAoJEN0/YqbEcdMwThEP/3uJuJuU4gZNiiRy3AkP6guK
cVnLXyasOBmwMNxLSFnt1RXQmYmcmY/cR16I/RRd1NbemC8+tB8PbO3Vp6bTGnx0
i4ZM+EFh+6F6xFzjua99sK67x0MNXqW+fp1L8tz5804piaqcJK/MX9XloMeG45ZL
WrGVFqZnFKb67OjoXKqZSo0S4bR/GJveRz9x8KxpGnqsc2Wa/sRftIoiO67FSoaq
P1ffH0OEPbkj7pzXFyV2BwHFVIC4LzFXmTWVNgmZfNSnTPossSyg8tuCe9+ZvVZa
lVHRu95nda2nh/RRfEk+jH2strX2psmb20/bsNa1RQ4ujWJT+HBcaGbeicsyzqZL
i+iJjNG/Pm0DRZ6DPfnUfW6/xIJW89L1fZ8sHLtSJ+jsR3tGQeYV5IAh0G5SBnM2
tXsbrQkVeZ3UfwGVK3zxl+C4UqkXyOhxSR2Bagr3QJqPGi7z2MR0/ScRdfJAAuMj
3yUbHZFYzsGBrgWZ4LYGDaZN2HL2Bnb7Er7QXPCSApgE8klHUwGTOPiRmyuKyYkJ
cgysMnnxflVRwLEaMO6roLw4xL849yOiWGIJkFJ+zWZxuweEBEjOPUUv7ch+PfLY
UNAWE7+BerPf/0UyNZvXw3MtYOd7cQxFCfwItboUV3iFEaG3ZBYhpT6+/mITHJ2i
eP7C9M4fGnoU8F6TbLcZ
=ELAp
-----END PGP SIGNATURE-----