winex11: Failing to create a context in X11DRV_wglCreateContextAttribsARB() is not an internal error.

In particular, without WGL_WINE_query_renderer, the only way to determine
whether a particular context version is supported or not is by attempting to
create a context with that version.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Henri Verbeet 2018-01-19 19:25:16 +01:00 committed by Alexandre Julliard
parent ed0b366322
commit 1246a27730
1 changed files with 1 additions and 1 deletions

View File

@ -2143,7 +2143,7 @@ static struct wgl_context *X11DRV_wglCreateContextAttribsARB( HDC hdc, struct wg
if ((err = X11DRV_check_error()) || !ret->ctx)
{
/* In the future we should convert the GLX error to a win32 one here if needed */
ERR("Context creation failed (error %x)\n", err);
WARN("Context creation failed (error %#x).\n", err);
HeapFree( GetProcessHeap(), 0, ret );
ret = NULL;
}