VirtualBox

Ignore:
Timestamp:
May 6, 2019 9:31:01 PM (6 years ago)
Author:
vboxsync
Message:

Additions,GuestHost/OpenGL,HostServices/SharedOpenGL: Get rid of the individual SPU shared libraries and merge them into the VBoxSharedCrOpenGL shared libraries on the host and VBoxOGL{,-x86} shared libraries for the guest additions, bugref:9435

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/OpenGL/util/error.c

    r78190 r78408  
    3131#ifdef RT_OS_WINDOWS
    3232# include <iprt/win/windows.h>
    33 # include "cr_error.h"
    34 # include "VBox/VBoxGuestLib.h"
    35 # include "iprt/initterm.h"
    36 #else
    37 # include "cr_error.h"
    3833#endif
     34#include "cr_error.h"
    3935
    4036#include <signal.h>
     
    179175    }
    180176}
    181 
    182 #if defined(RT_OS_WINDOWS)
    183 BOOL WINAPI DllMain(HINSTANCE hDLLInst, DWORD fdwReason, LPVOID lpvReserved)
    184 {
    185     (void) lpvReserved; (void) hDLLInst;
    186 
    187     switch (fdwReason)
    188     {
    189         case DLL_PROCESS_ATTACH:
    190         {
    191             int rc;
    192             rc = RTR3InitDll(RTR3INIT_FLAGS_UNOBTRUSIVE); CRASSERT(rc==0);
    193 # ifdef IN_GUEST
    194             rc = VbglR3Init();
    195 # endif
    196             LogRel(("crUtil DLL loaded.\n"));
    197 # if defined(DEBUG_misha)
    198             char aName[MAX_PATH];
    199             GetModuleFileNameA(hDLLInst, aName, RT_ELEMENTS(aName));
    200             crDbgCmdSymLoadPrint(aName, hDLLInst);
    201 # endif
    202              break;
    203         }
    204 
    205         case DLL_PROCESS_DETACH:
    206         {
    207             LogRel(("crUtil DLL unloaded."));
    208 # ifdef IN_GUEST
    209             VbglR3Term();
    210 # endif
    211         }
    212 
    213         default:
    214             break;
    215     }
    216 
    217     return TRUE;
    218 }
    219 #endif
    220 
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