Changeset 29798 in vbox for trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm/VBoxVideoVbva.cpp
- Timestamp:
- May 25, 2010 5:26:57 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm/VBoxVideoVbva.cpp
r29432 r29798 39 39 VBVAENABLE *pEnable = &pEnableEx->Base; 40 40 pEnable->u32Flags = bEnable? VBVA_F_ENABLE: VBVA_F_DISABLE; 41 pEnable->u32Flags |= VBVA_F_EXTENDED ;41 pEnable->u32Flags |= VBVA_F_EXTENDED | VBVA_F_ABSOFFSET; 42 42 pEnable->u32Offset = (uint32_t)pVbva->offVBVA; 43 43 pEnable->i32Result = VERR_NOT_SUPPORTED; … … 119 119 } 120 120 121 int vboxVbvaDestroy(PDEVICE_EXTENSION pDevExt, VBOXVBVAINFO *pVbva) 122 { 123 int rc = VINF_SUCCESS; 124 /*rc = */VBoxUnmapAdapterMemory(pDevExt, (void**)&pVbva->pVBVA, pVbva->cbVBVA); 125 /* 126 AssertRC(rc); 127 if (RT_SUCCESS(rc)) 128 */ 129 memset(pVbva, 0, sizeof(VBOXVBVAINFO)); 130 /* 131 else 132 drprintf((__FUNCTION__": VBoxUnmapAdapterMemory failed, rc (%d)\n", rc)); 133 */ 134 return rc; 135 } 136 121 137 /* 122 138 * Private operations.
Note:
See TracChangeset
for help on using the changeset viewer.