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