VirtualBox

Changeset 63839 in vbox


Ignore:
Timestamp:
Sep 14, 2016 5:47:30 PM (8 years ago)
Author:
vboxsync
Message:

DevVGA: bugref:8387: keep u32ViewIndex for VBVA_SCREEN_F_BLANK2

File:
1 edited

Legend:

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

    r63822 r63839  
    14931493        if (u16Flags & VBVA_SCREEN_F_BLANK2)
    14941494        {
     1495            if (   u32ViewIndex >= pVGAState->cMonitors
     1496                && u32ViewIndex != UINT32_C(0xFFFFFFFF))
     1497            {
     1498                return VERR_INVALID_PARAMETER;
     1499            }
     1500
    14951501            /* Special case for blanking using current video mode.
    1496              * Only 'u16Flags' field is relevant.
     1502             * Only 'u16Flags' and 'u32ViewIndex' field are relevant.
    14971503             */
    14981504            RT_ZERO(*pScreen);
     1505            pScreen->u32ViewIndex = u32ViewIndex;
    14991506            pScreen->u16Flags = u16Flags;
    15001507            return VINF_SUCCESS;
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