VirtualBox

Changeset 28229 in vbox for trunk/src/VBox


Ignore:
Timestamp:
Apr 12, 2010 11:03:47 PM (15 years ago)
Author:
vboxsync
Message:

wddm: bufgix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm/VBoxVideoVdma.cpp

    r28228 r28229  
    3232static int vboxWddmVdmaSubmitVbva(struct _DEVICE_EXTENSION* pDevExt, PVBOXVDMAINFO pInfo, HGSMIOFFSET offDr)
    3333{
    34     return vboxVbvaReportCmdOffset(pDevExt, &pDevExt->u.primary.Vbva, offDr);
     34    int rc;
     35    if (vboxVbvaBufferBeginUpdate (pDevExt, &pDevExt->u.primary.Vbva))
     36    {
     37        rc = vboxVbvaReportCmdOffset(pDevExt, &pDevExt->u.primary.Vbva, offDr);
     38        vboxVbvaBufferEndUpdate (pDevExt, &pDevExt->u.primary.Vbva);
     39    }
     40    else
     41    {
     42        AssertBreakpoint();
     43        rc = VERR_INVALID_STATE;
     44    }
     45    return rc;
    3546}
    3647#define vboxWddmVdmaSubmit vboxWddmVdmaSubmitVbva
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