VirtualBox

Ignore:
Timestamp:
Aug 7, 2009 8:56:32 PM (15 years ago)
Author:
vboxsync
Message:

Additions/x11/vboxvideo_13: merged back vboxvideo_15 parts of r48554 and r48681: Additions/x11/vboxvideo: dri fixes

File:
1 edited

Legend:

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

    r22087 r22088  
    245245        scrn->virtualY = height;
    246246        scrn->displayWidth = width;
     247#ifdef VBOX_DRI
     248        if (pVBox->useDRI)
     249            VBOXDRIUpdateStride(scrn, pVBox);
     250#endif
    247251    }
    248252    TRACE_LOG("returning %s\n", rc ? "TRUE" : "FALSE");
     
    986990        return (FALSE);
    987991
     992    /* Needed before we initialise DRI. */
     993    pScrn->displayWidth = pScrn->virtualX;
     994
    988995#ifdef VBOX_DRI
    989996    pVBox->useDRI = VBOXDRIScreenInit(scrnIndex, pScreen, pVBox);
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