ddraw/tests: Correct test condition (PVS-Studio)

Stefan Dösinger stefandoesinger at gmail.com
Mon Aug 18 07:37:49 CDT 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 2014-08-18 09:43, schrieb Michael Stefaniuc:
>> 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.
I remember that there was an application (Anarchy Online if my memory
serves me right) that detected if a surface was locked by calling
GetSurfaceDesc and checking if lpSurface was NULL. I'll do some
testing on real HW and different IDirectDrawSurface versions.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJT8fOdAAoJEN0/YqbEcdMwYOEP/1TvcB5KYWNHJQn34jjfWhyw
SNaqy0aOhLijdnd+ZQtR2AY7EcEEW/hHr7LGfwo/cC1tE1T9kOgVgpVRMrcnvqO6
LQqxMjCt3vk30zrio/AfgU1qj0Dwybrw3wIWbsr29tF6QXMzfkx5kJVDCJm6NGEs
XP19sEhL7LuN3xLIQwY1TvczOBaqmjaFzPdjvNGQCFMUZnylof20nwWS1NUZGgtG
f9bjqHZtj9UAolcxND8I/yzT1/nfCW6ptKoZsGKNs+A5Q05aB3x7Zsy5XgAlx5PG
SbREpenNFpNjCfLBNiPEm9yuaG+A6fJYaHoGgAKxfJYa73FIlF5n21tUrbE0cMAn
A9NJplpGqstB2m+HayBGyYMzaivAHNQvm/9dnZRNFSYqPNVWjhIoOqCRuB1Bi06X
7mBX9CynYVaaa3lv1wHsixPYfp+j9TLW5cBSphfbylDVTQtDfe9c8o/z6gvB0vSG
y7LiOGmyX+8sy4wtJ+WYWb7CpDmcSdH388DGxBacMiak3enj739ufCFGPi5Y6+4z
Zf7/vwKBCeG7Wu9x3KJwkfkTM5XjAmufFtMV9e3ls88uX8P0cc60/r9PbV1etwsm
Axn1egyiePPHY/uf4NsrBwQX0W0Jlzw4TDlC0E8ub31QQAyPI45B+8NEZ/TZqB9P
YQbryA/EL90WRfSToDGK
=diBQ
-----END PGP SIGNATURE-----



More information about the wine-devel mailing list