VirtualBox

Changeset 68890 in vbox


Ignore:
Timestamp:
Sep 27, 2017 3:25:59 PM (7 years ago)
Author:
vboxsync
Message:

Additions/WDDM: Corrected loading DEBUG versions of VBoxOGL*.dll libraries, bugref:8998

Location:
trunk/src/VBox/Additions
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/directx.c

    r65381 r68890  
    52865286static HMODULE loadSystemDll(const char *pszName)
    52875287{
     5288#ifndef DEBUG
    52885289    char   szPath[MAX_PATH];
    52895290    UINT   cchPath = GetSystemDirectoryA(szPath, sizeof(szPath));
     
    52945295    memcpy(&szPath[cchPath + 1], pszName, cbName);
    52955296    return LoadLibraryA(szPath);
     5297#else
     5298    return LoadLibraryA(pszName);
     5299#endif
    52965300}
    52975301
  • trunk/src/VBox/Additions/common/crOpenGL/load.c

    r68248 r68890  
    11911191static HMODULE loadSystemDll(const char *pszName)
    11921192{
     1193#ifndef DEBUG
    11931194    char   szPath[MAX_PATH];
    11941195    UINT   cchPath = GetSystemDirectoryA(szPath, sizeof(szPath));
     
    12021203    memcpy(&szPath[cchPath + 1], pszName, cbName);
    12031204    return LoadLibraryA(szPath);
     1205#else
     1206    return LoadLibraryA(pszName);
     1207#endif
    12041208}
    12051209
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette