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:
Matteo Bruni 2017-09-15 15:12:25 +02:00 committed by Alexandre Julliard
parent 6a49f4d5f3
commit 4d4a1477dc
1 changed files with 1 additions and 1 deletions

View File

@ -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 );