Changeset 8517 in vbox for trunk/src/VBox/Additions/x11
- Timestamp:
- Apr 30, 2008 6:47:46 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/xgraphics/vboxvideo_13.c
r8397 r8517 749 749 /* Set a sane minimum mode size and the maximum allowed by the available VRAM */ 750 750 { 751 #if 0752 751 unsigned maxSize, trySize = 512; 753 752 … … 756 755 trySize += 128; 757 756 } while (trySize * trySize * pScrn->bitsPerPixel / 8 < pScrn->videoRam * 1024); 758 #else759 unsigned maxSize = 32000;760 #endif761 757 762 758 xf86CrtcSetSizeRange(pScrn, 64, 64, maxSize, maxSize); 763 759 764 #if 0765 760 /* I don't know exactly what these are for (and they are only used in a couple 766 761 of places in the X server code), but due to a bug in RandR 1.2 they place … … 771 766 xf86DrvMsg(pScrn->scrnIndex, X_INFO, 772 767 "The maximum supported resolution is currently %dx%d\n", maxSize, maxSize); 773 #endif774 768 } 775 769 … … 939 933 "The VBox video extensions are now enabled.\n"); 940 934 vboxEnableGraphicsCap(pVBox); 941 #if 0942 935 /* Report the largest resolution that we support */ 943 vboxReportMaxGuestResolution(pScrn->display->virtualX, 944 pScrn->display->virtualY); 945 #endif 936 // vboxReportMaxGuestResolution(pScrn->display->virtualX, 937 // pScrn->display->virtualY); 946 938 } 947 939 return (TRUE);
Note:
See TracChangeset
for help on using the changeset viewer.