opengl32/tests: fix wglShareLists error messages.

This commit is contained in:
Roderick Colenbrander 2009-11-14 17:53:33 +01:00 committed by Alexandre Julliard
parent 9b329b2ed2
commit 9120e9baeb

View File

@ -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);
}