Commit 1246a277 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

winex11: Failing to create a context in X11DRV_wglCreateContextAttribsARB() is…

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: 's avatarHenri Verbeet <hverbeet@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent ed0b3663
...@@ -2143,7 +2143,7 @@ static struct wgl_context *X11DRV_wglCreateContextAttribsARB( HDC hdc, struct wg ...@@ -2143,7 +2143,7 @@ static struct wgl_context *X11DRV_wglCreateContextAttribsARB( HDC hdc, struct wg
if ((err = X11DRV_check_error()) || !ret->ctx) if ((err = X11DRV_check_error()) || !ret->ctx)
{ {
/* In the future we should convert the GLX error to a win32 one here if needed */ /* 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 ); HeapFree( GetProcessHeap(), 0, ret );
ret = NULL; ret = NULL;
} }
......
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