Changeset 20692 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Display/dd.c
- Timestamp:
- Jun 18, 2009 2:12:43 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Display/dd.c
r20683 r20692 1044 1044 } 1045 1045 1046 if(VBOXDD_CHECKFLAG(lpLock->dwFlags, DDLOCK_SURFACEMEMORYPTR))1047 {1048 lpLock->lpSurfData = (LPVOID)(lpSurfaceGlobal->fpVidMem + lpSurfaceGlobal->lPitch * lpLock->rArea.top1049 + lpLock->rArea.left * pDesc->cBitsPerPixel/8);1050 }1046 // if(VBOXDD_CHECKFLAG(lpLock->dwFlags, DDLOCK_SURFACEMEMORYPTR)) 1047 // { 1048 // lpLock->lpSurfData = (LPVOID)(lpSurfaceGlobal->fpVidMem + lpSurfaceGlobal->lPitch * lpLock->rArea.top 1049 // + lpLock->rArea.left * pDesc->cBitsPerPixel/8); 1050 // } 1051 1051 1052 1052 pCmd = vboxVHWACommandCreate (pDev, VBOXVHWACMD_TYPE_SURF_LOCK, sizeof(VBOXVHWACMD_SURF_LOCK)); … … 1090 1090 lpLock->ddRVal = DDERR_GENERIC; 1091 1091 } 1092 return DDHAL_DRIVER_ HANDLED;1092 return DDHAL_DRIVER_NOTHANDLED; 1093 1093 } 1094 1094 #endif
Note:
See TracChangeset
for help on using the changeset viewer.