wined3d: Report some more geforce 7 cards as geforce 7.

This commit is contained in:
Stefan Dösinger 2007-11-23 01:53:02 +01:00 committed by Alexandre Julliard
parent 3f32847494
commit 28170c1440
2 changed files with 14 additions and 4 deletions

View File

@ -968,10 +968,18 @@ BOOL IWineD3DImpl_FillGLCaps(WineD3D_GL_Info *gl_info) {
gl_info->gl_card = CARD_NVIDIA_GEFORCE_7800GT;
vidmem = 256; /* A 7800GT uses 256MB while highend 7900 cards can use 512MB */
}
/* Geforce7 midend / Geforce6 highend */
else if(strstr(gl_info->gl_renderer, "6800") ||
strstr(gl_info->gl_renderer, "7600") ||
strstr(gl_info->gl_renderer, "7700"))
/* Geforce7 midend */
else if(strstr(gl_info->gl_renderer, "7600") ||
strstr(gl_info->gl_renderer, "7700")) {
gl_info->gl_card = CARD_NVIDIA_GEFORCE_7600;
vidmem = 256; /* The 7600 uses 256-512MB */
/* Geforce7 lower medium */
} else if(strstr(gl_info->gl_renderer, "7400")) {
gl_info->gl_card = CARD_NVIDIA_GEFORCE_7400;
vidmem = 256; /* The 7400 uses 256-512MB */
}
/* Geforce6 highend */
else if(strstr(gl_info->gl_renderer, "6800"))
{
gl_info->gl_card = CARD_NVIDIA_GEFORCE_6800;
vidmem = 128; /* The 6800 uses 128-256MB, the 7600 uses 256-512MB */

View File

@ -3102,6 +3102,8 @@ typedef enum _GL_Cards {
CARD_NVIDIA_GEFORCE_6200 = 0x014f,
CARD_NVIDIA_GEFORCE_6600GT = 0x0140,
CARD_NVIDIA_GEFORCE_6800 = 0x0041,
CARD_NVIDIA_GEFORCE_7400 = 0x01d8,
CARD_NVIDIA_GEFORCE_7600 = 0x0391,
CARD_NVIDIA_GEFORCE_7800GT = 0x0092,
CARD_NVIDIA_GEFORCE_8300GS = 0x0423,
CARD_NVIDIA_GEFORCE_8600GT = 0x0402,