VirtualBox

Changeset 42518 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Aug 1, 2012 4:54:38 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
79683
Message:

crOpenGL/wddm: context-connection and other fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/VBoxVideo3D.h

    r39847 r42518  
    111111#define VBoxTlsRefGetCurrent(_t, _Tsd) ((_t*) VBoxTlsRefGetImpl((_Tsd)))
    112112
     113#define VBoxTlsRefGetCurrentFunctional(_val, _t, _Tsd) do { \
     114       _t * cur = VBoxTlsRefGetCurrent(_t, _Tsd); \
     115       if (!cur || VBoxTlsRefIsFunctional(cur)) { \
     116           (_val) = cur; \
     117       } else { \
     118           VBoxTlsRefSetCurrent(_t, _Tsd, NULL); \
     119           (_val) = NULL; \
     120       } \
     121   } while (0)
     122
    113123#define VBoxTlsRefSetCurrent(_t, _Tsd, _p) do { \
    114124        _t * oldCur = VBoxTlsRefGetCurrent(_t, _Tsd); \
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