VirtualBox

Changeset 91891 in vbox


Ignore:
Timestamp:
Oct 20, 2021 12:30:27 PM (4 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
147695
Message:

Devices/Graphics/DevVGA-SVGA3d-dx-shader.cpp: Fix compilation with newer gcc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA-SVGA3d-dx-shader.cpp

    r91823 r91891  
    21792179    }
    21802180
    2181     uint32_t cbBlob = RT_UOFFSETOF(DXBCBlobIOSGN, aElement[cSignature])
     2181    uint32_t cbBlob = RT_UOFFSETOF_DYN(DXBCBlobIOSGN, aElement[cSignature])
    21822182                    + cSignature * RT_SIZEOFMEMB(DXBCBlobIOSGN, aElement[0]);
    21832183    if (!dxbcByteWriterCanWrite(w, sizeof(DXBCBlobHeader) + cbBlob))
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