Added more Nvidia card IDs.

This commit is contained in:
Willie Sippel 2005-11-30 19:45:45 +01:00 committed by Alexandre Julliard
parent a808f38c1e
commit fbfb971646
2 changed files with 12 additions and 0 deletions

View File

@ -368,6 +368,14 @@ static BOOL IWineD3DImpl_FillGLCaps(WineD3D_GL_Info *gl_info, Display* display)
gl_info->gl_card = CARD_NVIDIA_GEFORCE4_TI4600; gl_info->gl_card = CARD_NVIDIA_GEFORCE4_TI4600;
} else if (strstr(gl_info->gl_renderer, "GeForceFX")) { } else if (strstr(gl_info->gl_renderer, "GeForceFX")) {
gl_info->gl_card = CARD_NVIDIA_GEFORCEFX_5900ULTRA; gl_info->gl_card = CARD_NVIDIA_GEFORCEFX_5900ULTRA;
} else if (strstr(gl_info->gl_renderer, "Quadro FX 3000")) {
gl_info->gl_card = CARD_NVIDIA_QUADROFX_3000;
} else if (strstr(gl_info->gl_renderer, "GeForce 6800")) {
gl_info->gl_card = CARD_NVIDIA_GEFORCE_6800ULTRA;
} else if (strstr(gl_info->gl_renderer, "Quadro FX 4000")) {
gl_info->gl_card = CARD_NVIDIA_QUADROFX_4000;
} else if (strstr(gl_info->gl_renderer, "GeForce 7800")) {
gl_info->gl_card = CARD_NVIDIA_GEFORCE_7800ULTRA;
} else { } else {
gl_info->gl_card = CARD_NVIDIA_GEFORCE4_TI4600; gl_info->gl_card = CARD_NVIDIA_GEFORCE4_TI4600;
} }

View File

@ -860,6 +860,10 @@ typedef enum _GL_Cards {
CARD_NVIDIA_GEFORCE4_TI4600 = 0x0250, CARD_NVIDIA_GEFORCE4_TI4600 = 0x0250,
CARD_NVIDIA_GEFORCE4_TI4200 = 0x0281, CARD_NVIDIA_GEFORCE4_TI4200 = 0x0281,
CARD_NVIDIA_GEFORCEFX_5900ULTRA = 0x0330, CARD_NVIDIA_GEFORCEFX_5900ULTRA = 0x0330,
CARD_NVIDIA_QUADROFX_3000 = 0x0338,
CARD_NVIDIA_GEFORCE_6800ULTRA = 0x0040,
CARD_NVIDIA_QUADROFX_4000 = 0x004e,
CARD_NVIDIA_GEFORCE_7800ULTRA = 0x0090,
CARD_INTEL_845G = 0x2562, CARD_INTEL_845G = 0x2562,
CARD_INTEL_I830G = 0x3577, CARD_INTEL_I830G = 0x3577,