Vincent Pelletier : wined3d: Detect intel 945 GM.

Alexandre Julliard julliard at winehq.org
Mon Dec 29 08:47:29 CST 2008


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

Author: Vincent Pelletier <plr.vincent at gmail.com>
Date:   Sat Dec 27 23:51:47 2008 +0100

wined3d: Detect intel 945 GM.

---

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

diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c
index 7c80750..e505ec0 100644
--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -1303,7 +1303,8 @@ static BOOL IWineD3DImpl_FillGLCaps(WineD3D_GL_Info *gl_info) {
             }
             break;
         case VENDOR_INTEL:
-            if (strstr(gl_info->gl_renderer, "GMA 950")) {
+            if (strstr(gl_info->gl_renderer, "GMA 950") ||
+                strstr(gl_info->gl_renderer, "945GM")) {
                 /* MacOS calls the card GMA 950, but everywhere else the PCI ID is named 945GM */
                 gl_info->gl_card = CARD_INTEL_I945GM;
                 vidmem = 64;




More information about the wine-cvs mailing list