Commit cfd06529 authored by Stefan Dösinger's avatar Stefan Dösinger Committed by Alexandre Julliard

wined3d: Add Intel GMA X3100 to our card DB.

parent 37b73478
...@@ -1858,8 +1858,13 @@ static BOOL IWineD3DImpl_FillGLCaps(WineD3D_GL_Info *gl_info) { ...@@ -1858,8 +1858,13 @@ static BOOL IWineD3DImpl_FillGLCaps(WineD3D_GL_Info *gl_info) {
} }
break; break;
case VENDOR_INTEL: case VENDOR_INTEL:
if (strstr(gl_renderer, "GMA 950") if(strstr(gl_renderer, "X3100"))
|| strstr(gl_renderer, "945GM")) {
/* 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 */ /* MacOS calls the card GMA 950, but everywhere else the PCI ID is named 945GM */
gl_info->gl_card = CARD_INTEL_I945GM; gl_info->gl_card = CARD_INTEL_I945GM;
......
...@@ -3378,6 +3378,7 @@ typedef enum _GL_Cards { ...@@ -3378,6 +3378,7 @@ typedef enum _GL_Cards {
CARD_INTEL_I915G = 0x2582, CARD_INTEL_I915G = 0x2582,
CARD_INTEL_I915GM = 0x2592, CARD_INTEL_I915GM = 0x2592,
CARD_INTEL_I945GM = 0x27a2, /* Same as GMA 950?? */ CARD_INTEL_I945GM = 0x27a2, /* Same as GMA 950?? */
CARD_INTEL_X3100 = 0x2a02, /* found in macs. Same as GMA 965? */
} GL_Cards; } GL_Cards;
#define WINE_DEFAULT_VIDMEM 64*1024*1024 #define WINE_DEFAULT_VIDMEM 64*1024*1024
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment