VirtualBox

Changeset 54168 in vbox for trunk


Ignore:
Timestamp:
Feb 12, 2015 9:59:06 AM (10 years ago)
Author:
vboxsync
Message:

DevVGA_VBVA: fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Graphics/DevVGA_VBVA.cpp

    r54162 r54168  
    26272627     *  whether the hint is valid. Therefore don't do any VRAM sanity checks
    26282628     *  here! */
    2629     if (iDisplay > RT_MIN(pThis->cMonitors, RT_ELEMENTS(pCtx->aModeHints)))
     2629    if (iDisplay >= RT_MIN(pThis->cMonitors, RT_ELEMENTS(pCtx->aModeHints)))
    26302630        return VERR_OUT_OF_RANGE;
    26312631    pCtx->aModeHints[iDisplay].magic    = VBVAMODEHINT_MAGIC;
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