Skip to content

Commit 612c367

Browse files
committed
improve logging string formatting
1 parent 9598241 commit 612c367

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/render/opengl/gl_engine_egl.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ void GLEngineEGL::sortAvailableDevicesByPreference(std::vector<int32_t>& deviceI
316316
// useful
317317
if (vendorStrRaw == nullptr) {
318318
if (polyscope::options::verbosity > 5) {
319-
std::cout << polyscope::options::printPrefix << " EGLDevice ind" << iDevice << " vendor: " << "NULL"
319+
std::cout << polyscope::options::printPrefix << " EGLDevice " << iDevice << " -- vendor: " << "NULL"
320320
<< " priority score: " << score << std::endl;
321321
}
322322
scoreDevices.emplace_back(score, iDevice);
@@ -347,7 +347,7 @@ void GLEngineEGL::sortAvailableDevicesByPreference(std::vector<int32_t>& deviceI
347347

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

0 commit comments

Comments
 (0)