wined3d: Detect geforce 7300 cards.

This commit is contained in:
Stefan Dösinger 2008-01-01 15:29:58 +01:00 committed by Alexandre Julliard
parent af4639f74a
commit c290f4c7a3
2 changed files with 6 additions and 0 deletions

View File

@ -1022,6 +1022,11 @@ BOOL IWineD3DImpl_FillGLCaps(WineD3D_GL_Info *gl_info) {
gl_info->gl_card = CARD_NVIDIA_GEFORCE_7400; gl_info->gl_card = CARD_NVIDIA_GEFORCE_7400;
vidmem = 256; /* The 7400 uses 256-512MB */ vidmem = 256; /* The 7400 uses 256-512MB */
} }
/* Geforce7 lowend */
else if(strstr(gl_info->gl_renderer, "7300")) {
gl_info->gl_card = CARD_NVIDIA_GEFORCE_7300;
vidmem = 256; /* Mac Pros with this card have 256 MB */
}
/* Geforce6 highend */ /* Geforce6 highend */
else if(strstr(gl_info->gl_renderer, "6800")) else if(strstr(gl_info->gl_renderer, "6800"))
{ {

View File

@ -3114,6 +3114,7 @@ typedef enum _GL_Cards {
CARD_NVIDIA_GEFORCE_6600GT = 0x0140, CARD_NVIDIA_GEFORCE_6600GT = 0x0140,
CARD_NVIDIA_GEFORCE_6800 = 0x0041, CARD_NVIDIA_GEFORCE_6800 = 0x0041,
CARD_NVIDIA_GEFORCE_7400 = 0x01d8, CARD_NVIDIA_GEFORCE_7400 = 0x01d8,
CARD_NVIDIA_GEFORCE_7300 = 0x01d7, /* GeForce Go 7300 */
CARD_NVIDIA_GEFORCE_7600 = 0x0391, CARD_NVIDIA_GEFORCE_7600 = 0x0391,
CARD_NVIDIA_GEFORCE_7800GT = 0x0092, CARD_NVIDIA_GEFORCE_7800GT = 0x0092,
CARD_NVIDIA_GEFORCE_8300GS = 0x0423, CARD_NVIDIA_GEFORCE_8300GS = 0x0423,