wined3d: Return FALSE rather than E_FAIL in wined3d_context_gl_create_wgl_ctx.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
stable
Gabriel Ivăncescu 2020-01-03 14:00:12 +02:00 committed by Alexandre Julliard
parent 90422f9bb5
commit a6606d0dae
1 changed files with 1 additions and 1 deletions

View File

@ -2049,7 +2049,7 @@ static BOOL wined3d_context_gl_create_wgl_ctx(struct wined3d_context_gl *context
if (!(context_gl->dc = wined3d_swapchain_gl_get_backup_dc(swapchain_gl)))
{
ERR("Failed to retrieve the backup device context.\n");
return E_FAIL;
return FALSE;
}
context_gl->dc_is_private = TRUE;