Changeset 27988 in vbox for trunk/src/VBox/Additions/WINNT/Graphics
- Timestamp:
- Apr 5, 2010 6:39:38 PM (15 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/Graphics/Miniport
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/VBoxVideo.cpp
r27984 r27988 1277 1277 { 1278 1278 VIDEO_MODE_INFORMATION *pCur = &pAllModes[i]; 1279 if (pResolution->cx == pAllModes[i PreferrableMode].VisScreenWidth1280 && pResolution->cy == pAllModes[i PreferrableMode].VisScreenHeight)1279 if (pResolution->cx == pAllModes[i].VisScreenWidth 1280 && pResolution->cy == pAllModes[i].VisScreenHeight) 1281 1281 { 1282 1282 if (pModes && cModes > cFound) 1283 {1284 1283 memcpy(&pModes[cFound], pCur, sizeof (VIDEO_MODE_INFORMATION)); 1285 ++pModes;1286 }1287 1284 else 1288 1285 Status = STATUS_BUFFER_TOO_SMALL; -
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/wddm/VBoxVideoWddm.cpp
r27984 r27988 2428 2428 bool bFreeModes = false; 2429 2429 VBoxWddmGetModesTable(pDevExt, /* PDEVICE_EXTENSION DeviceExtension */ 2430 false, /* bool bRebuildTable*/2430 true, /* bool bRebuildTable*/ 2431 2431 &pModes, /* VIDEO_MODE_INFORMATION ** ppModes*/ 2432 2432 &cModes, /* uint32_t * pcModes */
Note:
See TracChangeset
for help on using the changeset viewer.