Commit a6606d0d authored by Gabriel Ivăncescu's avatar Gabriel Ivăncescu Committed by Alexandre Julliard

wined3d: Return FALSE rather than E_FAIL in wined3d_context_gl_create_wgl_ctx.

parent 90422f9b
......@@ -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;
......
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