Changeset 8393 in vbox for trunk/src/VBox
- Timestamp:
- Apr 25, 2008 4:05:20 PM (17 years ago)
- Location:
- trunk/src/VBox/Additions/WINNT/Graphics/Miniport
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/Helper.cpp
r8155 r8393 87 87 if (bpp) 88 88 *bpp = req->bpp; 89 dprintf(("VBoxVideo::vboxQueryDisplayRequest: returning %d x %d @ %d\n", 90 req->xres, req->yres, req->bpp)); 89 91 bRC = TRUE; 90 92 } -
trunk/src/VBox/Additions/WINNT/Graphics/Miniport/VBoxVideo.cpp
r8383 r8393 573 573 yres = VideoModes[DeviceExtension->CurrentMode - 1].VisScreenHeight; 574 574 if (!bpp) 575 { 575 576 bpp = VideoModes[DeviceExtension->CurrentMode - 1].BitsPerPlane; 577 #ifdef DEBUG_frank 578 { 579 int i; 580 dprintf(("VBoxVideo: using bpp=%d from CurrentMode\n", bpp)); 581 for (i=0; i<MAX_VIDEO_MODES + 2; i++) 582 { 583 if ( VideoModes[i].VisScreenWidth 584 || VideoModes[i].VisScreenHeight 585 || VideoModes[i].BitsPerPlane) 586 { 587 dprintf((" %2d: %4d x %4d @ %2d %s\n", 588 i, VideoModes[i].VisScreenWidth, 589 VideoModes[i].VisScreenHeight, VideoModes[i].BitsPerPlane, 590 i == (DeviceExtension->CurrentMode-1) ? "<==" : "")); 591 } 592 } 593 } 594 #endif 595 } 576 596 } 577 597
Note:
See TracChangeset
for help on using the changeset viewer.