wined3d: Rename HW_VENDOR_WINE to HW_VENDOR_SOFTWARE.

Software adapters like the refrast also return a 0 PCI ID on Windows.
This commit is contained in:
Henri Verbeet 2010-04-04 19:51:40 +02:00 committed by Alexandre Julliard
parent 224c376528
commit b8211a67d4
2 changed files with 2 additions and 2 deletions

View File

@ -1238,7 +1238,7 @@ static enum wined3d_pci_vendor wined3d_guess_card_vendor(const char *gl_vendor_s
if (strstr(gl_vendor_string, "Mesa")
|| strstr(gl_vendor_string, "Tungsten Graphics, Inc")
|| strstr(gl_vendor_string, "VMware, Inc."))
return HW_VENDOR_WINE;
return HW_VENDOR_SOFTWARE;
FIXME_(d3d_caps)("Received unrecognized GL_VENDOR %s. Returning HW_VENDOR_NVIDIA.\n", debugstr_a(gl_vendor_string));

View File

@ -1270,7 +1270,7 @@ enum wined3d_gl_vendor
enum wined3d_pci_vendor
{
HW_VENDOR_WINE = 0x0000,
HW_VENDOR_SOFTWARE = 0x0000,
HW_VENDOR_ATI = 0x1002,
HW_VENDOR_NVIDIA = 0x10de,
HW_VENDOR_INTEL = 0x8086,