Commit 0fad82a9 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

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

parent 8c68e18d
......@@ -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 */
......
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