VirtualBox

Ignore:
Timestamp:
Aug 21, 2014 10:40:36 AM (10 years ago)
Author:
vboxsync
Message:

crOpenGL: debugging

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/src/VBox

  • trunk/src/VBox/GuestHost/OpenGL/util/error.c

    r52352 r52437  
    585585    va_end( args );
    586586}
     587
     588#if defined(DEBUG_misha) && defined(RT_OS_WINDOWS)
     589BOOL WINAPI DllMain(HINSTANCE hDLLInst, DWORD fdwReason, LPVOID lpvReserved)
     590{
     591    (void) lpvReserved;
     592
     593    switch (fdwReason)
     594    {
     595        case DLL_PROCESS_ATTACH:
     596        {
     597            char aName[MAX_PATH];
     598             GetModuleFileNameA(hDLLInst, aName, RT_ELEMENTS(aName));
     599             crDbgCmdSymLoadPrint(aName, hDLLInst);
     600            break;
     601        }
     602        default:
     603            break;
     604    }
     605
     606    return TRUE;
     607}
     608#endif
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