d3d9/tests: Remove no-op binary & with all 1's (PVS-Studio).
This commit is contained in:
parent
7c4d45c00b
commit
3730c99c28
|
@ -99,7 +99,7 @@ static DWORD getPixelColorFromSurface(IDirect3DSurface9 *surface, UINT x, UINT y
|
||||||
switch(desc.Format) {
|
switch(desc.Format) {
|
||||||
case D3DFMT_A8R8G8B8:
|
case D3DFMT_A8R8G8B8:
|
||||||
{
|
{
|
||||||
color = ((DWORD *) lockedRect.pBits)[0] & 0xffffffff;
|
color = ((DWORD *) lockedRect.pBits)[0];
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue