mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
opengl32/tests: fix wglShareLists error messages.
This commit is contained in:
parent
9b329b2ed2
commit
9120e9baeb
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user