wined3d: Detect intel 945 GM.

This commit is contained in:
Vincent Pelletier 2008-12-27 23:51:47 +01:00 committed by Alexandre Julliard
parent b15ba7696b
commit 143bd931b6
1 changed files with 2 additions and 1 deletions

View File

@ -1303,7 +1303,8 @@ static BOOL IWineD3DImpl_FillGLCaps(WineD3D_GL_Info *gl_info) {
}
break;
case VENDOR_INTEL:
if (strstr(gl_info->gl_renderer, "GMA 950")) {
if (strstr(gl_info->gl_renderer, "GMA 950") ||
strstr(gl_info->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;
vidmem = 64;