Changeset 30505 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Display
- Timestamp:
- Jun 29, 2010 2:15:34 PM (14 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm/VBoxDispD3D.cpp
r30483 r30505 3171 3171 #endif 3172 3172 } 3173 #if 13173 #if 0 3174 3174 else 3175 3175 #endif -
trunk/src/VBox/Additions/WINNT/Graphics/Display/wddm/VBoxDispMp.cpp
r30483 r30505 41 41 if (pIter->cbRemain) 42 42 { 43 PVBOXVIDEOCM_CMD_HDR pCur = pIter->pCur; 43 44 Assert(pIter->cbRemain >= pIter->pCur->cbCmd); 44 45 pIter->cbRemain -= pIter->pCur->cbCmd; 45 46 pIter->pCur = (PVBOXVIDEOCM_CMD_HDR)(((uint8_t*)pIter->pCur) + pIter->pCur->cbCmd); 46 return p Iter->pCur;47 return pCur; 47 48 } 48 49 return NULL; … … 100 101 if (g_VBoxDispMp.pEscapeCmd->Hdr.cbCmdsReturned) 101 102 { 102 PVBOXVIDEOCM_CMD_HDRpHdr = (PVBOXVIDEOCM_CMD_HDR)(((uint8_t*)g_VBoxDispMp.pEscapeCmd) + sizeof (VBOXDISPIFESCAPE_GETVBOXVIDEOCMCMD));103 pHdr = (PVBOXVIDEOCM_CMD_HDR)(((uint8_t*)g_VBoxDispMp.pEscapeCmd) + sizeof (VBOXDISPIFESCAPE_GETVBOXVIDEOCMCMD)); 103 104 vboxVideoCmIterInit(&g_VBoxDispMp.Iterator, pHdr, g_VBoxDispMp.pEscapeCmd->Hdr.cbCmdsReturned); 104 105 pHdr = vboxVideoCmIterNext(&g_VBoxDispMp.Iterator);
Note:
See TracChangeset
for help on using the changeset viewer.