VirtualBox

Changeset 23681 in vbox


Ignore:
Timestamp:
Oct 12, 2009 11:05:52 AM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
53396
Message:

video 2d accel: handle the case of failing make gl cntext current

File:
1 edited

Legend:

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

    r23657 r23681  
    719719            str = glGetString(GL_VERSION);
    720720            );
     721
     722    if(!str)
     723    {
     724        VBOXQGLLOGREL (("failed to make the context current, treating as unsupported\n"));
     725        return;
     726    }
    721727
    722728    VBOXQGLLOGREL (("gl version string: 0%s\n", str));
Note: See TracChangeset for help on using the changeset viewer.

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