Lauri Kenttä : wined3d: Add check for Intel GM965/ GL960 with Mesa driver.

Alexandre Julliard julliard at winehq.org
Wed Sep 22 14:47:54 CDT 2010


Module: wine
Branch: master
Commit: 0d27b6ca705a3961af132e06d43516f6cc65ea86
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0d27b6ca705a3961af132e06d43516f6cc65ea86

Author: Lauri Kenttä <lauri.kentta at gmail.com>
Date:   Wed Sep 22 18:06:28 2010 +0300

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

---

 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;




More information about the wine-cvs mailing list