VirtualBox

Changeset 27961 in vbox


Ignore:
Timestamp:
Apr 2, 2010 4:32:41 PM (14 years ago)
Author:
vboxsync
Message:

2d: more bugfix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxFBOverlay.cpp

    r27960 r27961  
    19361936    VBoxGLContext *pc = (VBoxGLContext*)context();
    19371937    pc->allowDoneCurrent (false);
     1938    Assert(isSharing());
    19381939}
    19391940
     
    40434044public:
    40444045    VBoxGLShareWgt() :
    4045         QGLWidget(VBoxVHWAImage::vboxGLFormat())
    4046     {}
     4046        QGLWidget(new VBoxGLContext(VBoxVHWAImage::vboxGLFormat()))
     4047    {
     4048        /* work-around to disable done current needed to old ATI drivers on Linux */
     4049        VBoxGLContext *pc = (VBoxGLContext*)context();
     4050        pc->allowDoneCurrent (false);
     4051    }
    40474052
    40484053protected:
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