VirtualBox

Changeset 23691 in vbox


Ignore:
Timestamp:
Oct 12, 2009 1:27:43 PM (15 years ago)
Author:
vboxsync
Message:

video 2d accel: check for gl support

File:
1 edited

Legend:

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

    r23682 r23691  
    690690    g_vboxVHWAGlSupportInitialized = true;
    691691
    692 //    if (!QGLContext(QGLFormat::defaultFormat()).isValid())
    693 //        return;
     692    if (!QGLFormat::hasOpenGL())
     693    {
     694        VBOXQGLLOGREL (("no gl support available\n"));
     695        return;
     696    }
    694697
    695698    QGLWidget *pTmpWidget = NULL;
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