[PATCH] wined3d: clarify some comments about Intel cards

Wolfram Sang wolfram at the-dreams.de
Mon May 31 09:26:19 CDT 2010


Backed up by lspci on my laptop:

00:02.0 VGA compatible controller [0300]: Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller [8086:2a02] (rev 0c) (prog-if 00 [VGA controller])

(Don't know if this is too less of a fix, but facts are better than guesses in
comments IMHO)

Signed-off-by: Wolfram Sang <wolfram at the-dreams.de>
---
 dlls/wined3d/directx.c         |    2 +-
 dlls/wined3d/wined3d_private.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c
index ba9e551..088cfe0 100644
--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -1730,7 +1730,7 @@ static enum wined3d_pci_device select_card_intel_binary(const struct wined3d_gl_
 {
     if (strstr(gl_renderer, "X3100"))
     {
-        /* MacOS calls the card GMA X3100, Google findings also suggest the name GM965 */
+        /* MacOS calls the card GMA X3100, otherwise known as GM965/GL960 */
         *vidmem = 128;
         return CARD_INTEL_X3100;
     }
diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h
index 77bcf0e..276d5dd 100644
--- a/dlls/wined3d/wined3d_private.h
+++ b/dlls/wined3d/wined3d_private.h
@@ -1361,7 +1361,7 @@ enum wined3d_pci_device
     CARD_INTEL_I915G                = 0x2582,
     CARD_INTEL_I915GM               = 0x2592,
     CARD_INTEL_I945GM               = 0x27a2, /* Same as GMA 950? */
-    CARD_INTEL_X3100                = 0x2a02, /* Found in Macs. Same as GMA 965? */
+    CARD_INTEL_X3100                = 0x2a02, /* Found in Macs. Same as GM965/GL960 */
 };
 
 struct wined3d_fbo_ops
-- 
1.7.0




More information about the wine-patches mailing list