opengl32: Trace a test result that fails inconsistently across different drivers.

This commit is contained in:
James Hawkins 2008-05-23 03:21:29 -05:00 committed by Alexandre Julliard
parent 8c68e18d53
commit 0fad82a9c7
1 changed files with 4 additions and 2 deletions

View File

@ -210,9 +210,11 @@ static void test_setpixelformat(HDC winhdc)
pf = ChoosePixelFormat(hdc, &pfd);
ok(pf != 0, "ChoosePixelFormat failed on main device context\n");
/* SetPixelFormat on the main device context 'X root window' should fail */
/* SetPixelFormat on the main device context 'X root window' should fail,
* but some broken drivers allow it
*/
res = SetPixelFormat(hdc, pf, &pfd);
ok(res == 0, "SetPixelFormat on main device context should fail\n");
trace("SetPixelFormat on main device context %s\n", res ? "succeeded" : "failed");
/* Setting the same format that was set on the HDC is allowed; other
formats fail */