VirtualBox

Changeset 95024 in vbox


Ignore:
Timestamp:
May 16, 2022 3:20:07 PM (3 years ago)
Author:
vboxsync
Message:

Devices/Graphics: shaders; render targets; removed a wrong ClearState call (build fix): bugref:9830

File:
1 edited

Legend:

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

    r95023 r95024  
    23872387        ++cBlob;
    23882388
    2389     uint32_t const cbHdr = RT_UOFFSETOF(DXBCHeader, aBlobOffset[cBlob]); /* Header with blob offsets. */
     2389    uint32_t const cbHdr = RT_UOFFSETOF_DYN(DXBCHeader, aBlobOffset[cBlob]); /* Header with blob offsets. */
    23902390    if (!dxbcByteWriterCanWrite(w, cbHdr))
    23912391        return VERR_NO_MEMORY;
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