From 48995f33547b2ce09597a8859dd170ba2da3ac0b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Erik=20Inge=20Bols=C3=B8?= Date: Tue, 7 Jul 2009 18:25:16 +0200 Subject: [PATCH] wined3d: Fix Nvidia GTX series misdetection. --- dlls/wined3d/directx.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/wined3d/directx.c b/dlls/wined3d/directx.c index 162e9fcfb5..d3f56cef87 100644 --- a/dlls/wined3d/directx.c +++ b/dlls/wined3d/directx.c @@ -1546,13 +1546,13 @@ static BOOL IWineD3DImpl_FillGLCaps(WineD3D_GL_Info *gl_info) { vidmem = 1024; } /* Geforce 200 - midend high */ - if (strstr(gl_renderer, "GTX 275")) + else if (strstr(gl_renderer, "GTX 275")) { gl_info->gl_card = CARD_NVIDIA_GEFORCE_GTX275; vidmem = 896; } /* Geforce 200 - midend */ - if (strstr(gl_renderer, "GTX 260")) + else if (strstr(gl_renderer, "GTX 260")) { gl_info->gl_card = CARD_NVIDIA_GEFORCE_GTX260; vidmem = 1024; -- 2.32.0.93.g670b81a890