opengl32/tests: Fix typo in ok() condition.
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
6a49f4d5f3
commit
4d4a1477dc
|
@ -404,7 +404,7 @@ static void test_setpixelformat(HDC winhdc)
|
|||
ok( GetLastError() == ERROR_INVALID_PIXEL_FORMAT, "wrong error %u\n", GetLastError() );
|
||||
SetLastError( 0xdeadbeef );
|
||||
res = SetPixelFormat( hdc, pf, &pfd );
|
||||
ok( i == 0, "SetPixelFormat succeeded\n" );
|
||||
ok( !res, "SetPixelFormat succeeded\n" );
|
||||
ok( GetLastError() == ERROR_INVALID_HANDLE, "wrong error %u\n", GetLastError() );
|
||||
SetLastError( 0xdeadbeef );
|
||||
res = DescribePixelFormat( hdc, 0, 0, NULL );
|
||||
|
|
Loading…
Reference in New Issue