VirtualBox

Changeset 42523 in vbox for trunk


Ignore:
Timestamp:
Aug 2, 2012 9:42:53 AM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
79693
Message:

crOpenGL: bugfix

Location:
trunk/src/VBox/Additions/common/crOpenGL
Files:
2 edited

Legend:

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

    r42518 r42523  
    10711071            stub.spu->dispatch_table.VBoxPackSetInjectThread(NULL);
    10721072#if defined(WINDOWS) && defined(VBOX_WITH_WDDM)
    1073     if (!spuConnection)
     1073    if (stub.bRunningUnderWDDM && !spuConnection)
    10741074    {
    10751075        crError("VBoxPackSetInjectThread failed!");
  • trunk/src/VBox/Additions/common/crOpenGL/pack/packspu_misc.c

    r42518 r42523  
    588588void PACKSPU_APIENTRY packspu_VBoxDetachThread()
    589589{
    590     int i;
    591     GET_THREAD(thread);
    592 
    593     if (thread)
    594     {
    595         if (CRPACKSPU_IS_WDDM_CRHGSMI())
    596         {
    597             crPackSetContext(NULL);
    598             crSetTSD(&_PackTSD, NULL);
    599         }
    600         else
     590    if (CRPACKSPU_IS_WDDM_CRHGSMI())
     591    {
     592        crPackSetContext(NULL);
     593        crSetTSD(&_PackTSD, NULL);
     594    }
     595    else
     596    {
     597        int i;
     598        GET_THREAD(thread);
     599        if (thread)
    601600        {
    602601            crLockMutex(&_PackMutex);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette