Commit 4d4a1477 authored by Matteo Bruni's avatar Matteo Bruni Committed by Alexandre Julliard

opengl32/tests: Fix typo in ok() condition.

parent 6a49f4d5
...@@ -404,7 +404,7 @@ static void test_setpixelformat(HDC winhdc) ...@@ -404,7 +404,7 @@ static void test_setpixelformat(HDC winhdc)
ok( GetLastError() == ERROR_INVALID_PIXEL_FORMAT, "wrong error %u\n", GetLastError() ); ok( GetLastError() == ERROR_INVALID_PIXEL_FORMAT, "wrong error %u\n", GetLastError() );
SetLastError( 0xdeadbeef ); SetLastError( 0xdeadbeef );
res = SetPixelFormat( hdc, pf, &pfd ); 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() ); ok( GetLastError() == ERROR_INVALID_HANDLE, "wrong error %u\n", GetLastError() );
SetLastError( 0xdeadbeef ); SetLastError( 0xdeadbeef );
res = DescribePixelFormat( hdc, 0, 0, NULL ); res = DescribePixelFormat( hdc, 0, 0, NULL );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment