VirtualBox

Changeset 15536 in vbox


Ignore:
Timestamp:
Dec 15, 2008 7:09:13 PM (16 years ago)
Author:
vboxsync
Message:

OpenGL: Omit to unload libGL to fix crash with Nvidia drivers during shutdown

File:
1 edited

Legend:

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

    r15532 r15536  
    1010#include "cr_string.h"
    1111#include "stdio.h"
     12
     13#ifndef IN_GUEST
     14#include <string.h>
     15#endif
    1216
    1317#if defined(IRIX) || defined(IRIX64) || defined(Linux) || defined(FreeBSD) || defined(AIX) || defined(DARWIN) || defined(SunOS) || defined(OSF1)
     
    298302        }
    299303#elif defined(IRIX) || defined(IRIX64) || defined(Linux) || defined(FreeBSD) || defined(AIX) || defined(SunOS) || defined(OSF1)
    300         dll_err = dlclose( dll->hinstLib );
     304#ifndef IN_GUEST
     305        if (strncmp(dll->name, "libGL", 5))
     306#endif
     307                dll_err = dlclose( dll->hinstLib );
    301308#else
    302309#error DSO
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