Skip to content

Commit

Permalink
More debugging output.
Browse files Browse the repository at this point in the history
  • Loading branch information
brettle committed Sep 3, 2024
1 parent f2d43b5 commit ded17b5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/webots/gui/WbSingleTaskApplication.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -237,10 +237,12 @@ void WbSingleTaskApplication::showSysInfo() const {
cout << "Creating QOpenGLContext" << endl;
QOpenGLContext *context = new QOpenGLContext();
cout << "Calling create()" << endl;
context->create();
bool contextCreated = context->create();
cout << "returned" << contextCreated << endl;
cout << "Getting functions()" << endl;
QOpenGLFunctions *gl = context->functions(); // QOpenGLFunctions_3_3_Core cannot be initialized here on some systems like
// macOS High Sierra and some Ubuntu environments.
cout << "gl ?= NULL: " << (gl == NULL) << endl;

#ifdef _WIN32
cout << "Getting gpuVendorId()" << endl;
Expand Down

0 comments on commit ded17b5

Please sign in to comment.