Skip to content

Commit

Permalink
improve logging string formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
nmwsharp committed Dec 28, 2024
1 parent 9598241 commit 612c367
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/render/opengl/gl_engine_egl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ void GLEngineEGL::sortAvailableDevicesByPreference(std::vector<int32_t>& deviceI
// useful
if (vendorStrRaw == nullptr) {
if (polyscope::options::verbosity > 5) {
std::cout << polyscope::options::printPrefix << " EGLDevice ind" << iDevice << " vendor: " << "NULL"
std::cout << polyscope::options::printPrefix << " EGLDevice " << iDevice << " -- vendor: " << "NULL"
<< " priority score: " << score << std::endl;
}
scoreDevices.emplace_back(score, iDevice);
Expand Down Expand Up @@ -347,7 +347,7 @@ void GLEngineEGL::sortAvailableDevicesByPreference(std::vector<int32_t>& deviceI

// at high verbosity levels, log the priority
if (polyscope::options::verbosity > 5) {
std::cout << polyscope::options::printPrefix << " EGLDevice ind" << iDevice << " vendor: " << vendorStr
std::cout << polyscope::options::printPrefix << " EGLDevice " << iDevice << " -- vendor: " << vendorStr
<< " priority score: " << score << std::endl;
}

Expand Down

0 comments on commit 612c367

Please sign in to comment.