wined3d: Fix Nvidia GTX series misdetection.

This commit is contained in:
Erik Inge Bolsø 2009-07-07 18:25:16 +02:00 committed by Alexandre Julliard
parent b7e1473311
commit 48995f3354

View file

@ -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;