VirtualBox

Changeset 53349 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Nov 19, 2014 11:03:07 AM (10 years ago)
Author:
vboxsync
Message:

Additions/Video/WDDM: fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/VBoxUhgsmiBase.cpp

    r50984 r53349  
    148148DECLCALLBACK(int) vboxUhgsmiBaseEscBufferSubmit(PVBOXUHGSMI pHgsmi, PVBOXUHGSMI_BUFFER_SUBMIT aBuffers, uint32_t cBuffers)
    149149{
    150     /* we no chromium will not submit more than three buffers actually,
     150    /* We know chromium will not submit more than three buffers actually,
    151151     * for simplicity allocate it statically on the stack  */
    152152    struct
     
    156156    } Buf;
    157157
    158     if (!cBuffers || cBuffers > RT_ELEMENTS(Buf.aBufInfos) + 1)
     158    if (!cBuffers || cBuffers > RT_ELEMENTS(Buf.aBufInfos))
    159159    {
    160160        WARN(("invalid cBuffers!"));
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