VirtualBox

Ignore:
Timestamp:
Dec 2, 2010 11:05:33 PM (14 years ago)
Author:
vboxsync
Message:

Additions/common/VBoxVideo and Additions/WINNT/Graphics: some adjustments to the common VBoxVideo code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Display/screen.c

    r34438 r34665  
    244244    /* Update buffer layout in VBVA context information.  Shouldn't this get
    245245     * zeroed if initialising the HGSMI heap fails? */
    246     ppdev->vbvaCtx.offVRAMBuffer = ppdev->layout.offVBVABuffer;
    247     ppdev->vbvaCtx.cbBuffer = ppdev->layout.cbVBVABuffer;
     246    VBoxVBVASetupBufferContext(&ppdev->vbvaCtx, ppdev->layout.offVBVABuffer,
     247                               ppdev->layout.cbVBVABuffer);
    248248
    249249    DISPDBG((0, "vboxInitVBoxVideo:\n"
     
    412412            ppdev->bHGSMISupported = VBoxVBVAEnable(&ppdev->vbvaCtx,
    413413                                                    &ppdev->guestCtx,
    414                                                     pVBVA);
     414                                                    pVBVA, -1);
    415415            LogRel(("VBoxDisp[%d]: VBVA %senabled\n", ppdev->iDevice, ppdev->bHGSMISupported? "": "not "));
    416416        }
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