VirtualBox

Ignore:
Timestamp:
Mar 16, 2009 11:19:58 AM (16 years ago)
Author:
vboxsync
Message:

crOpenGL: fix stub cleanup for cases where host doesn't have 3d support turned on

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/crOpenGL/load.c

    r17839 r17919  
    220220    stub.spu = NULL;
    221221
     222#ifndef Linux
    222223    crUnloadOpenGL();
     224#endif
    223225
    224226    crNetTearDown();
     
    237239static void stubSPUSafeTearDown(void)
    238240{
     241    if (!stub_initialized) return;
     242    stub_initialized = 0;
     243
    239244#ifdef CHROMIUM_THREADSAFE
    240245    CRmutex *mutex = &stub.mutex;
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