VirtualBox

Ignore:
Timestamp:
Mar 10, 2017 7:08:58 PM (8 years ago)
Author:
vboxsync
Message:

bugref:7513: crOpenGL maintenance: make the SPU loader fail gracefully if it cannot find a shared library.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/OpenGL/spu_loader/spuload.c

    r62167 r66051  
    9797        path = __findDLL( name, dir );
    9898        the_spu->dll = crDLLOpen( path, 0/*resolveGlobal*/ );
     99        if (the_spu->dll == NULL)
     100        {
     101                crError("Couldn't load the DLL \"%s\"!\n", path);
     102                crFree(the_spu);
     103                return NULL;
     104        }
    99105#if defined(DEBUG_misha) && defined(RT_OS_WINDOWS)
    100106        crDbgCmdSymLoadPrint(path, the_spu->dll->hinstLib);
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