Changeset 22091 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Aug 7, 2009 9:07:56 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo_13.c
r22090 r22091 243 243 VBOXDRIUpdateStride(scrn, pVBox); 244 244 #endif 245 /* Write the new values to the hardware */ 246 rc = xf86SetDesiredModes(scrn); 245 247 } 246 248 TRACE_LOG("returning %s\n", rc ? "TRUE" : "FALSE"); … … 977 979 pScrn->virtualX, pScrn->virtualY, 978 980 pScrn->xDpi, pScrn->yDpi, 979 pScrn-> virtualX, pScrn->bitsPerPixel))981 pScrn->displayWidth, pScrn->bitsPerPixel)) 980 982 return (FALSE); 981 983 … … 1017 1019 } 1018 1020 1019 /* set the viewport */1020 VBOXAdjustFrame(scrnIndex, pScrn->frameX0, pScrn->frameY0, 0);1021 1022 1021 /* software cursor */ 1023 1022 miDCInitialize(pScreen, xf86GetPointerScreenFuncs()); 1024 1023 1025 /* colourmap code - apparently, we need this even in Truecolour*/1024 /* colourmap code */ 1026 1025 if (!miCreateDefColormap(pScreen)) 1027 1026 return (FALSE); … … 1061 1060 "The VBox video extensions are now enabled.\n"); 1062 1061 vboxEnableGraphicsCap(pVBox); 1063 /* Report the largest resolution that we support */1064 1062 } 1065 1063
Note:
See TracChangeset
for help on using the changeset viewer.