- Timestamp:
- Feb 13, 2007 5:45:45 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/linux/xgraphics/vboxvideo.c
r1 r884 509 509 xf86SetGamma(pScrn, gzeros); 510 510 511 /* If no modes where specified for this display, add a default mode */ 512 if (!pScrn->display->modes || !*pScrn->display->modes) 513 { 514 if ((pScrn->display->modes = xnfalloc(2 * sizeof(char*)))) 515 { 516 pScrn->display->modes[0] = "1024x768"; 517 pScrn->display->modes[1] = NULL; 518 } 519 } 520 511 521 /* Filter out video modes not supported by the virtual hardware 512 522 we described. All modes used by the Windows additions should
Note:
See TracChangeset
for help on using the changeset viewer.