wined3d: Add Intel GMA X3100 to our card DB.

This commit is contained in:
Stefan Dösinger 2009-07-07 15:59:50 +02:00 committed by Alexandre Julliard
parent 37b73478f1
commit cfd0652980
2 changed files with 8 additions and 2 deletions

View File

@ -1858,8 +1858,13 @@ static BOOL IWineD3DImpl_FillGLCaps(WineD3D_GL_Info *gl_info) {
}
break;
case VENDOR_INTEL:
if (strstr(gl_renderer, "GMA 950")
|| strstr(gl_renderer, "945GM"))
if(strstr(gl_renderer, "X3100"))
{
/* MacOS calls the card GMA X3100, Google findings also suggest the name GM965 */
gl_info->gl_card = CARD_INTEL_X3100;
vidmem = 128;
}
else if (strstr(gl_renderer, "GMA 950") || strstr(gl_renderer, "945GM"))
{
/* MacOS calls the card GMA 950, but everywhere else the PCI ID is named 945GM */
gl_info->gl_card = CARD_INTEL_I945GM;

View File

@ -3378,6 +3378,7 @@ typedef enum _GL_Cards {
CARD_INTEL_I915G = 0x2582,
CARD_INTEL_I915GM = 0x2592,
CARD_INTEL_I945GM = 0x27a2, /* Same as GMA 950?? */
CARD_INTEL_X3100 = 0x2a02, /* found in macs. Same as GMA 965? */
} GL_Cards;
#define WINE_DEFAULT_VIDMEM 64*1024*1024