VirtualBox

Changeset 20618 in vbox


Ignore:
Timestamp:
Jun 16, 2009 10:13:34 AM (15 years ago)
Author:
vboxsync
Message:

Additions/x11/vboxvideo: fix for systems without DRI

File:
1 edited

Legend:

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

    r20550 r20618  
    245245        scrn->virtualY = height;
    246246        scrn->displayWidth = width;
    247         VBOXDRIUpdateStride(scrn, pVBox);
     247#ifdef VBOX_DRI
     248        if (pVBox->useDRI)
     249            VBOXDRIUpdateStride(scrn, pVBox);
     250#endif
    248251    }
    249252    TRACE_LOG("returning %s\n", rc ? "TRUE" : "FALSE");
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