Skip to content

Commit

Permalink
Add line endings to GL initialization logs
Browse files Browse the repository at this point in the history
Summary: Minor, but annoying

Reviewed By: corporateshark

Differential Revision: D50442504

fbshipit-source-id: f7d156acbf054d752c2c5d9144497838bb00cfb4
  • Loading branch information
Thiago Goulart authored and facebook-github-bot committed Oct 20, 2023
1 parent 4d6fdb5 commit 3036d62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/igl/opengl/IContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3465,7 +3465,7 @@ void IContext::initialize(Result* result) {
}

#if IGL_DEBUG || defined(IGL_FORCE_ENABLE_LOGS)
IGL_LOG_INFO("GL Context Initialized: %p", this);
IGL_LOG_INFO("GL Context Initialized: %p\n", this);
IGL_LOG_INFO("GL Version: %s\n", version);
const char* vendor = (char*)getString(GL_VENDOR);
IGL_LOG_INFO("GL Vendor: %s\n", (vendor != nullptr) ? vendor : "(null)");
Expand All @@ -3479,7 +3479,7 @@ void IContext::initialize(Result* result) {
std::sort(sortedExtensions.begin(), sortedExtensions.end());
IGL_LOG_INFO("GL Extensions:\n");
for (const auto& extension : sortedExtensions) {
IGL_LOG_INFO(extension.c_str());
IGL_LOG_INFO("- %s\n", extension.c_str());
}
}
#endif
Expand Down

0 comments on commit 3036d62

Please sign in to comment.