wined3d: Add newer ATI/AMD cards vendor recognition
Luca Bennati
lucak3 at gmail.com
Sun Jan 31 07:59:48 CST 2010
As seen in bug #21515, newer ATI cards used with radeon open driver return a
GL_VENDOR string not present in wined3d_guess_vendor().
This oneliner merely adds that so that the function return VENDOR_MESA
instead of VENDOR_WINE that could make apps crash.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100131/14d0ba0f/attachment-0001.htm>
-------------- next part --------------
From d36e6cb97ca1bc94dfab91a538ea4ca69a16e5f8 Mon Sep 17 00:00:00 2001
From: Luca Bennati <lucak3 at gmail.com>
Date: Sat, 30 Jan 2010 18:10:59 +0100
Subject: wined3d: Add newer ATI/AMD cards vendor recognition
---
dlls/wined3d/directx.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c
index c2694eb..b708b33 100644
--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -1129,6 +1129,7 @@ static enum wined3d_pci_vendor wined3d_guess_vendor(const char *gl_vendor, const
return VENDOR_INTEL;
if (strstr(gl_vendor, "Mesa")
+ || strstr(gl_vendor, "Advanced Micro Devices, Inc.")
|| strstr(gl_vendor, "DRI R300 Project")
|| strstr(gl_vendor, "Tungsten Graphics, Inc")
|| strstr(gl_vendor, "VMware, Inc."))
--
1.6.6.1
More information about the wine-patches
mailing list