Changeset 45403 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Video/disp
- Timestamp:
- Apr 8, 2013 1:00:36 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/VBoxDispCm.cpp
r44529 r45403 207 207 208 208 pCmd->EscapeHdr.escapeCode = VBOXESC_GETVBOXVIDEOCMCMD; 209 210 PVBOXWDDMDISP_CONTEXT pContext = NULL, pCurCtx; 211 209 212 /* lock to ensure the context is not destroyed */ 210 213 EnterCriticalSection(&pSession->CritSect); 211 214 /* use any context for identifying the kernel CmSession. We're using the first one */ 212 PVBOXWDDMDISP_CONTEXT pContext = RTListGetFirst(&pSession->CtxList, VBOXWDDMDISP_CONTEXT, ListNode); 215 RTListForEach(&pSession->CtxList, pCurCtx, VBOXWDDMDISP_CONTEXT, ListNode) 216 { 217 PVBOXWDDMDISP_DEVICE pDevice = pCurCtx->pDevice; 218 if (VBOXDISPMODE_IS_3D(pDevice->pAdapter)) 219 { 220 pContext = pCurCtx; 221 break; 222 } 223 } 213 224 if (pContext) 214 225 {
Note:
See TracChangeset
for help on using the changeset viewer.