opengl32: Trace a test result that fails inconsistently across different drivers.
This commit is contained in:
parent
8c68e18d53
commit
0fad82a9c7
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue