Commit 9120e9ba authored by Roderick Colenbrander's avatar Roderick Colenbrander Committed by Alexandre Julliard

opengl32/tests: fix wglShareLists error messages.

parent 9b329b2e
......@@ -314,7 +314,7 @@ static void test_sharelists(HDC winhdc)
res = wglMakeCurrent(winhdc, hglrc2);
ok(res, "Make current failed\n");
res = wglShareLists(hglrc1, hglrc2);
todo_wine ok(res, "Sharing display lists with a destination context which has been made current passed\n");
todo_wine ok(res, "Sharing display lists with a destination context which has been made current failed\n");
wglMakeCurrent(0, 0);
wglDeleteContext(hglrc2);
}
......@@ -325,7 +325,7 @@ static void test_sharelists(HDC winhdc)
if(hglrc3)
{
res = wglShareLists(hglrc3, hglrc1);
ok(res == FALSE, "Sharing of display lists failed for a context which already shared lists before\n");
ok(res == FALSE, "Sharing of display lists passed for a context which already shared lists before\n");
wglDeleteContext(hglrc3);
}
......@@ -336,7 +336,7 @@ static void test_sharelists(HDC winhdc)
res = wglMakeCurrent(winhdc, hglrc1);
ok(res, "Make current failed\n");
res = wglShareLists(hglrc1, hglrc2);
ok(res, "Sharing display lists with a source context which has been made current passed\n");
ok(res, "Sharing display lists with a source context which has been made current failed\n");
wglMakeCurrent(0, 0);
wglDeleteContext(hglrc2);
}
......
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