Commit 739dbab4 authored by Henri Verbeet's avatar Henri Verbeet Committed by Alexandre Julliard

wined3d: Add fallbacks for d3d9 and d3d10 cards in select_card_amd_mesa().

parent 3bfecd58
......@@ -1932,6 +1932,9 @@ static enum wined3d_pci_device select_card_amd_mesa(const struct wined3d_gl_info
}
d3d_level = d3d_level_from_gl_info(gl_info);
if (d3d_level >= 10)
return CARD_AMD_RADEON_HD2600;
if (d3d_level >= 9)
{
static const struct
......@@ -1966,6 +1969,8 @@ static enum wined3d_pci_device select_card_amd_mesa(const struct wined3d_gl_info
if (strstr(gl_renderer, cards[i].renderer))
return cards[i].id;
}
return CARD_AMD_RADEON_9500;
}
if (d3d_level >= 8)
......
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