Changeset 22591 in vbox for trunk/src/VBox/Additions/common/crOpenGL
- Timestamp:
- Aug 31, 2009 9:45:51 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/crOpenGL/load.c
r21308 r22591 524 524 int i; 525 525 526 crGetProcName(name, 1000);527 for (i=0; gsViewportHackApps[i]; ++i)526 /* Apply viewport hack only if we're running under wine */ 527 if (NULL!=GetModuleHandle("wined3d.dll")) 528 528 { 529 if (!stricmp(name, gsViewportHackApps[i])) 529 crGetProcName(name, 1000); 530 for (i=0; gsViewportHackApps[i]; ++i) 530 531 { 531 stub.viewportHack = 1; 532 break; 532 if (!stricmp(name, gsViewportHackApps[i])) 533 { 534 stub.viewportHack = 1; 535 break; 536 } 533 537 } 534 538 }
Note:
See TracChangeset
for help on using the changeset viewer.