Skip to content

Commit 8cdf0ce

Browse files
committed
improve logging string formatting
1 parent 81496a3 commit 8cdf0ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/render/opengl/gl_engine_egl.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ void GLEngineEGL::sortAvailableDevicesByPreference(std::vector<int32_t>& deviceI
323323
// useful
324324
if (vendorStrRaw == nullptr) {
325325
if (polyscope::options::verbosity > 5) {
326-
std::cout << polyscope::options::printPrefix << " EGLDevice ind" << iDevice << " vendor: " << "NULL"
326+
std::cout << polyscope::options::printPrefix << " EGLDevice " << iDevice << " -- vendor: " << "NULL"
327327
<< " priority score: " << score << std::endl;
328328
}
329329
scoreDevices.emplace_back(score, iDevice);
@@ -354,7 +354,7 @@ void GLEngineEGL::sortAvailableDevicesByPreference(std::vector<int32_t>& deviceI
354354

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

0 commit comments

Comments
 (0)