Changeset 33146 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm
- Timestamp:
- Oct 15, 2010 10:34:58 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm/VBoxVideoWddm.cpp
r33116 r33146 1592 1592 Assert(Status == STATUS_SUCCESS); 1593 1593 break; 1594 case VBOXUHGSMI_SYNCHOBJECT_TYPE_NONE: 1595 pAllocation->pSynchEvent = NULL; 1596 Status == STATUS_SUCCESS; 1597 break; 1594 1598 default: 1595 1599 drprintf((__FUNCTION__ ": ERROR: invalid synch info type(%d)\n", pAllocInfo->enmSynchType)); … … 2159 2163 PVBOXVDMACBUF_DR pDr = (PVBOXVDMACBUF_DR)pvContext; 2160 2164 PVBOXVDMACMD pHdr = VBOXVDMACBUF_DR_TAIL(pDr, VBOXVDMACMD); 2161 UINT cBufs = pHdr->u32CmdSpecific;2162 2165 VBOXVDMACMD_CHROMIUM_CMD *pBody = VBOXVDMACMD_BODY(pHdr, VBOXVDMACMD_CHROMIUM_CMD); 2166 UINT cBufs = pBody->cBuffers; 2163 2167 for (UINT i = 0; i < cBufs; ++i) 2164 2168 { … … 2179 2183 FALSE); 2180 2184 break; 2185 case VBOXUHGSMI_SYNCHOBJECT_TYPE_NONE: 2186 break; 2181 2187 default: 2182 2188 Assert(0); … … 2187 2193 vboxVdmaCBufDrFree(&pDevExt->u.primary.Vdma, pDr); 2188 2194 } 2189 2190 2195 #endif 2196 2191 2197 NTSTATUS 2192 2198 APIENTRY … … 2379 2385 PVBOXVDMACMD pHdr = VBOXVDMACBUF_DR_TAIL(pDr, VBOXVDMACMD); 2380 2386 pHdr->enmType = VBOXVDMACMD_TYPE_CHROMIUM_CMD; 2381 pHdr->u32CmdSpecific = pChromiumCmd->Base.u32CmdReserved;2387 pHdr->u32CmdSpecific = 0; 2382 2388 VBOXVDMACMD_CHROMIUM_CMD *pBody = VBOXVDMACMD_BODY(pHdr, VBOXVDMACMD_CHROMIUM_CMD); 2389 pBody->cBuffers = pChromiumCmd->Base.u32CmdReserved; 2383 2390 for (UINT i = 0; i < pChromiumCmd->Base.u32CmdReserved; ++i) 2384 2391 {
Note:
See TracChangeset
for help on using the changeset viewer.