VirtualBox

Changeset 60510 in vbox


Ignore:
Timestamp:
Apr 14, 2016 6:36:57 PM (9 years ago)
Author:
vboxsync
Message:

GuestHost/OpenGL: fixed annoying warning

Location:
trunk
Files:
2 edited

Legend:

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

    r56291 r60510  
    6969
    7070#define VBOXTLSREFDATA_OFFSET(_t) RT_OFFSETOF(_t, cTlsRefs)
     71#define VBOXTLSREFDATA_ASSERT_OFFSET(_t) RTASSERT_OFFSET_OF(_t, cTlsRefs)
    7172#define VBOXTLSREFDATA_SIZE() (sizeof (struct VBOXTLSREFDATA_DUMMY))
    7273#define VBOXTLSREFDATA_COPY(_pDst, _pSrc) do { \
  • trunk/src/VBox/GuestHost/OpenGL/state_tracker/state_snapshot.c

    r50429 r60510  
    18591859AssertCompile(VBOXTLSREFDATA_SIZE() <= CR_MAX_BITARRAY);
    18601860AssertCompile(VBOXTLSREFDATA_STATE_INITIALIZED != 0);
    1861 AssertCompile(RT_OFFSETOF(CRContext, shared) >= VBOXTLSREFDATA_OFFSET(CRContext) + VBOXTLSREFDATA_SIZE() + RT_SIZEOFMEMB(CRContext, bitid) + RT_SIZEOFMEMB(CRContext, neg_bitid));
     1861AssertCompile(RTASSERT_OFFSET_OF(CRContext, shared) >= VBOXTLSREFDATA_ASSERT_OFFSET(CRContext)
     1862                                                     + VBOXTLSREFDATA_SIZE()
     1863                                                     + RT_SIZEOFMEMB(CRContext, bitid)
     1864                                                     + RT_SIZEOFMEMB(CRContext, neg_bitid));
    18621865
    18631866int32_t crStateLoadContext(CRContext *pContext, CRHashTable * pCtxTable, PFNCRSTATE_CONTEXT_GET pfnCtxGet, PSSMHANDLE pSSM, uint32_t u32Version)
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