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:
parent
ed0b366322
commit
1246a27730
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue