Allan Tong : wined3d: Fix Geforce9 detection.
Alexandre Julliard
julliard at winehq.org
Fri Sep 19 07:14:59 CDT 2008
Module: wine
Branch: master
Commit: 43f2ec33bfe7ee6c02d7b44b739e72a5134a86f9
URL: http://source.winehq.org/git/wine.git/?a=commit;h=43f2ec33bfe7ee6c02d7b44b739e72a5134a86f9
Author: Allan Tong <actong88 at gmail.com>
Date: Thu Sep 18 19:18:23 2008 -0400
wined3d: Fix Geforce9 detection.
---
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 9f48da9..5d805e3 100644
--- a/dlls/wined3d/directx.c
+++ b/dlls/wined3d/directx.c
@@ -1088,7 +1088,7 @@ BOOL IWineD3DImpl_FillGLCaps(WineD3D_GL_Info *gl_info) {
vidmem = 384; /* The 9600GSO has 384MB, the 9600GT has 512-1024MB */
}
/* Geforce8 - highend */
- if (strstr(gl_info->gl_renderer, "8800")) {
+ else if (strstr(gl_info->gl_renderer, "8800")) {
gl_info->gl_card = CARD_NVIDIA_GEFORCE_8800GTS;
vidmem = 320; /* The 8800GTS uses 320MB, a 8800GTX can have 768MB */
}
More information about the wine-cvs
mailing list