[PATCH] wined3d: Add check for Intel GM965/GL960 with Mesa driver.

Lauri Kenttä lauri.kentta at gmail.com
Wed Sep 22 10:06:28 CDT 2010


---
 dlls/wined3d/directx.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c
index e8bbe77..326c64b 100644
--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -1829,7 +1829,7 @@ static enum wined3d_pci_device select_card_ati_binary(const struct wined3d_gl_in
 static enum wined3d_pci_device select_card_intel(const struct wined3d_gl_info *gl_info,
         const char *gl_renderer)
 {
-    if (strstr(gl_renderer, "X3100"))
+    if (strstr(gl_renderer, "X3100") || strstr(gl_renderer, "965GM"))
     {
         /* MacOS calls the card GMA X3100, otherwise known as GM965/GL960 */
         return CARD_INTEL_X3100;
-- 
1.7.3




More information about the wine-patches mailing list