mirror of
https://github.com/reactos/reactos.git
synced 2025-01-07 14:51:00 +00:00
[OPENGL32_WINETEST] Sync with Wine Staging 1.7.55. CORE-10536
svn path=/trunk/; revision=70133
This commit is contained in:
parent
e856b9ccfd
commit
9df1e03192
1 changed files with 5 additions and 0 deletions
|
@ -715,6 +715,9 @@ static DWORD WINAPI wgl_thread(void *param)
|
|||
struct wgl_thread_param *p = param;
|
||||
HDC hdc = GetDC( p->hwnd );
|
||||
|
||||
ok(!glGetString(GL_RENDERER) && !glGetString(GL_VERSION) && !glGetString(GL_VENDOR),
|
||||
"Expected NULL string when no active context is set\n");
|
||||
|
||||
SetLastError(0xdeadbeef);
|
||||
p->make_current = wglMakeCurrent(hdc, p->hglrc);
|
||||
p->make_current_error = GetLastError();
|
||||
|
@ -1668,6 +1671,8 @@ START_TEST(opengl)
|
|||
test_message_window();
|
||||
test_dc(hwnd, hdc);
|
||||
|
||||
ok(!glGetString(GL_RENDERER) && !glGetString(GL_VERSION) && !glGetString(GL_VENDOR),
|
||||
"Expected NULL string when no active context is set\n");
|
||||
hglrc = wglCreateContext(hdc);
|
||||
res = wglMakeCurrent(hdc, hglrc);
|
||||
ok(res, "wglMakeCurrent failed!\n");
|
||||
|
|
Loading…
Reference in a new issue