Roderick Colenbrander : wined3d: Mark Geforce GT 140 as a Geforce 9600GT.

Alexandre Julliard julliard at winehq.org
Thu May 27 10:46:41 CDT 2010


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

Author: Roderick Colenbrander <thunderbird2k at gmail.com>
Date:   Wed May 26 21:51:35 2010 +0200

wined3d: Mark Geforce GT 140 as a Geforce 9600GT.

---

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

diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c
index 023bd17..02ebfa3 100644
--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -1327,8 +1327,9 @@ static enum wined3d_pci_device select_card_nvidia_binary(const struct wined3d_gl
             return CARD_NVIDIA_GEFORCE_9800GT;
         }
 
-        /* Geforce9 - midend */
-        if (strstr(gl_renderer, "9600"))
+        /* Geforce9 - midend (GT 140 uses the same core as the 9600GT) */
+        if (strstr(gl_renderer, "9600")
+                || strstr(gl_renderer, "GT 140"))
         {
             *vidmem = 384; /* The 9600GSO has 384MB, the 9600GT has 512-1024MB */
             return CARD_NVIDIA_GEFORCE_9600GT;




More information about the wine-cvs mailing list