Commit 60f8119d by Geoff Lang

Name all windows created by the WGL backend.

When running from within the chrome test harness, calls to CreateWindow* in debug builds would return null when the title was an empty string. Change-Id: I0d5dfb1eb824ff2a1470e7d66d850602e73988a0 Reviewed-on: https://chromium-review.googlesource.com/263430Reviewed-by: 's avatarGeoff Lang <geofflang@chromium.org> Tested-by: 's avatarGeoff Lang <geofflang@chromium.org>
parent 1a506957
......@@ -131,7 +131,7 @@ egl::Error DisplayWGL::initialize(egl::Display *display)
HWND dummyWindow = CreateWindowExA(WS_EX_NOPARENTNOTIFY,
reinterpret_cast<const char *>(mWindowClass),
"",
"ANGLE Dummy Window",
WS_OVERLAPPEDWINDOW,
CW_USEDEFAULT,
CW_USEDEFAULT,
......@@ -208,7 +208,7 @@ egl::Error DisplayWGL::initialize(egl::Display *display)
mWindow = CreateWindowExA(WS_EX_NOPARENTNOTIFY,
reinterpret_cast<const char *>(mWindowClass),
"",
"ANGLE Intermediate Window",
WS_OVERLAPPEDWINDOW,
CW_USEDEFAULT,
CW_USEDEFAULT,
......
......@@ -52,7 +52,7 @@ egl::Error WindowSurfaceWGL::initialize()
mChildWindow = CreateWindowExA(WS_EX_NOPARENTNOTIFY,
reinterpret_cast<const char*>(mWindowClass),
"",
"ANGLE Intermediate Surface Window",
WS_CHILDWINDOW | WS_DISABLED | WS_VISIBLE,
0,
0,
......
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