VirtualBox

Ignore:
Timestamp:
Aug 30, 2012 2:23:41 PM (12 years ago)
Author:
vboxsync
Message:

Additions/x11/vboxvideo: refactoring to support X.Org Server 1.13.

Location:
trunk/src/VBox/Additions/x11/vboxvideo
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo.c

    r43081 r43108  
    961961
    962962#ifdef VBOX_DRI
    963     pVBox->useDRI = VBOXDRIScreenInit(scrnIndex, pScreen, pVBox);
     963    pVBox->useDRI = VBOXDRIScreenInit(pScrn, pScreen, pVBox);
    964964#endif
    965965
  • trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo.h

    r43081 r43108  
    235235
    236236/* DRI stuff */
    237 extern Bool VBOXDRIScreenInit(int scrnIndex, ScreenPtr pScreen, VBOXPtr pVBox);
     237extern Bool VBOXDRIScreenInit(ScrnInfoPtr pScrn, ScreenPtr pScreen,
     238                              VBOXPtr pVBox);
    238239extern Bool VBOXDRIFinishScreenInit(ScreenPtr pScreen);
    239240extern void VBOXDRIUpdateStride(ScrnInfoPtr pScrn, VBOXPtr pVBox);
  • trunk/src/VBox/Additions/x11/vboxvideo/vboxvideo_dri.c

    r43081 r43108  
    157157#endif
    158158
    159 Bool VBOXDRIScreenInit(int scrnIndex, ScreenPtr pScreen, VBOXPtr pVBox)
     159Bool VBOXDRIScreenInit(ScrnInfoPtr pScrn, ScreenPtr pScreen, VBOXPtr pVBox)
    160160{
    161161    DRIInfoPtr pDRIInfo = NULL;
    162162    Bool rc = TRUE;
    163     ScrnInfoPtr pScrn = xf86Screens[scrnIndex];
    164163
    165164    TRACE_ENTRY();
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette