wined3d: Fixed a bug that the 8600M GT could not be detected.

This commit is contained in:
Marco Schuster 2007-12-11 17:18:23 +01:00 committed by Alexandre Julliard
parent 0768dc3beb
commit 96504632de
1 changed files with 5 additions and 5 deletions

View File

@ -976,6 +976,11 @@ BOOL IWineD3DImpl_FillGLCaps(WineD3D_GL_Info *gl_info) {
gl_info->gl_card = CARD_NVIDIA_GEFORCE_8800GTS;
vidmem = 320; /* The 8800GTS uses 320MB, a 8800GTX can have 768MB */
}
/* Geforce8 - midend mobile */
else if(strstr(gl_info->gl_renderer, "8600 M")) {
gl_info->gl_card = CARD_NVIDIA_GEFORCE_8600MGT;
vidmem = 512;
}
/* Geforce8 - midend */
else if(strstr(gl_info->gl_renderer, "8600") ||
strstr(gl_info->gl_renderer, "8700"))
@ -983,11 +988,6 @@ BOOL IWineD3DImpl_FillGLCaps(WineD3D_GL_Info *gl_info) {
gl_info->gl_card = CARD_NVIDIA_GEFORCE_8600GT;
vidmem = 256;
}
/* Geforce8 - midend mobile */
else if(strstr(gl_info->gl_renderer, "8600 M")) {
gl_info->gl_card = CARD_NVIDIA_GEFORCE_8600MGT;
vidmem = 512;
}
/* Geforce8 - lowend */
else if(strstr(gl_info->gl_renderer, "8300") ||
strstr(gl_info->gl_renderer, "8400") ||