VirtualBox

Changeset 39870 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Jan 25, 2012 10:29:00 AM (13 years ago)
Author:
vboxsync
Message:

wddm/3d: fix a crash

File:
1 edited

Legend:

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

    r39820 r39870  
    13641364        uint32_t srcPitch, dstPitch;
    13651365        uint8_t * pvAllocMemStart = (uint8_t *)pAlloc->pvMem;
    1366         uint32_t offAllocMemStart = vboxWddmCalcOffXYrd(pRect->top, pRect->left, pAlloc->SurfDesc.pitch, pAlloc->SurfDesc.format);
     1366        uint32_t offAllocMemStart = vboxWddmCalcOffXYrd(pRect->left, pRect->top, pAlloc->SurfDesc.pitch, pAlloc->SurfDesc.format);
    13671367        pvAllocMemStart += offAllocMemStart;
    13681368
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