Changeset 22247 in vbox for trunk/src/VBox/Additions/WINNT
- Timestamp:
- Aug 13, 2009 9:04:28 PM (15 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/Graphics/Display
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Display/dd.c
r22136 r22247 657 657 if (lpSurfaceLocal->ddsCaps.dwCaps & DDSCAPS_PRIMARYSURFACE) 658 658 { 659 pBody-> u.in.offSurface = 0;659 pBody->SurfInfo.offSurface = 0; 660 660 } 661 661 else 662 662 { 663 pBody-> u.in.offSurface = VBOXVHWA_OFFSET64_VOID;663 pBody->SurfInfo.offSurface = VBOXVHWA_OFFSET64_VOID; 664 664 } 665 665 … … 674 674 uint32_t surfSizeX = pBody->SurfInfo.sizeX; 675 675 uint32_t surfSizeY = pBody->SurfInfo.sizeY; 676 pDesc->hHostHandle = pBody-> u.out.hSurf;676 pDesc->hHostHandle = pBody->SurfInfo.hSurf; 677 677 lpSurfaceGlobal->dwReserved1 = (ULONG_PTR)pDesc; 678 678 lPitch = pBody->SurfInfo.pitch; -
trunk/src/VBox/Additions/WINNT/Graphics/Display/driver.h
r22136 r22247 109 109 volatile uint32_t cPendingFlipsTarg; 110 110 #ifdef DEBUG 111 volatile uint 64_t cFlipsCurr;112 volatile uint 64_t cFlipsTarg;111 volatile uint32_t cFlipsCurr; 112 volatile uint32_t cFlipsTarg; 113 113 #endif 114 114 // uint32_t cBitsPerPixel; -
trunk/src/VBox/Additions/WINNT/Graphics/Display/vbox.c
r22189 r22247 911 911 VBOXVHWACMD_QUERYINFO2* vboxVHWAQueryHostInfo2(PPDEV ppdev, uint32_t numFourCC) 912 912 { 913 VBOXVHWACMD* pCmd = vboxVHWACommandCreate (ppdev, VBOXVHWACMD_TYPE_QUERY_INFO2, sizeof(VBOXVHWACMD_QUERYINFO2));913 VBOXVHWACMD* pCmd = vboxVHWACommandCreate (ppdev, VBOXVHWACMD_TYPE_QUERY_INFO2, VBOXVHWAINFO2_SIZE(numFourCC)); 914 914 VBOXVHWACMD_QUERYINFO2 *pInfo2; 915 915 if (!pCmd)
Note:
See TracChangeset
for help on using the changeset viewer.