VirtualBox

Ignore:
Timestamp:
Dec 2, 2011 9:24:48 AM (13 years ago)
Author:
vboxsync
Message:

wddm/d3d: fix surface rederence

File:
1 edited

Legend:

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

    r39463 r39508  
    23412341        if (pRT->pAlloc->enmD3DIfType != VBOXDISP_D3DIFTYPE_SURFACE)
    23422342            continue;
    2343         BOOL fHasSurf = !!pRT->pAlloc->pRc->aAllocations[i].pD3DIf;
     2343        BOOL fHasSurf = !!pRT->pAlloc->pRc->aAllocations[0].pD3DIf;
    23442344        if (!fForceCreate && !fHasSurf)
    23452345            continue;
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