Changeset 5144 in vbox for trunk/src/VBox/Additions/WINNT/Graphics
- Timestamp:
- Oct 2, 2007 5:08:36 PM (17 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/Graphics/Display
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Display/dd.c
r5038 r5144 720 720 DISPDBG((0, "%s: %p bHasRect = %d\n", __FUNCTION__, pDev, lpLock->bHasRect)); 721 721 722 pDev->ddLock.b HasRect = lpLock->bHasRect;722 pDev->ddLock.bLocked = TRUE; 723 723 724 724 if (lpLock->bHasRect) … … 726 726 DISPDBG((0, "%d,%d %dx%d\n", lpLock->rArea.left, lpLock->rArea.top, lpLock->rArea.right - lpLock->rArea.left, lpLock->rArea.bottom - lpLock->rArea.top)); 727 727 pDev->ddLock.rArea = lpLock->rArea; 728 } 729 else 730 { 731 pDev->ddLock.rArea.left = 0; 732 pDev->ddLock.rArea.top = 0; 733 pDev->ddLock.rArea.right = pDev->cxScreen; 734 pDev->ddLock.rArea.bottom = pDev->cyScreen; 728 735 } 729 736 … … 758 765 DISPDBG((0, "%s: %p\n", __FUNCTION__, pDev)); 759 766 760 if (pDev->ddLock.b HasRect)767 if (pDev->ddLock.bLocked) 761 768 { 762 769 DISPDBG((0, "%d,%d %dx%d\n", pDev->ddLock.rArea.left, pDev->ddLock.rArea.top, pDev->ddLock.rArea.right - pDev->ddLock.rArea.left, pDev->ddLock.rArea.bottom - pDev->ddLock.rArea.top)); … … 783 790 vboxHwBufferEndUpdate (pDev); 784 791 } 785 pDev->ddLock.b HasRect = 0;792 pDev->ddLock.bLocked = FALSE; 786 793 } 787 794 -
trunk/src/VBox/Additions/WINNT/Graphics/Display/driver.h
r5038 r5144 134 134 VIDEOMEMORY* pvmList; 135 135 struct { 136 DWORD b HasRect;136 DWORD bLocked; 137 137 RECTL rArea; 138 138 } ddLock;
Note:
See TracChangeset
for help on using the changeset viewer.