Skip to content

Commit

Permalink
Added empty string to avoid variadic macro issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
S-Dafarra committed Apr 20, 2021
1 parent 68403d5 commit e9d5941
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/gl/debug.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ void GLAPIENTRY MessageCallback(GLenum source,
return;
}
auto level = toLogLevel(severity);
LOG_FORMATTED(level, fmt::format("GL CALLBACK: 0x{:x}, message = {}", type, message).c_str());
LOG_FORMATTED(level, fmt::format("GL CALLBACK: 0x{:x}, message = {}", type, message).c_str(), "");
}

void xr_examples::gl::enableDebugLogging() {
Expand Down

0 comments on commit e9d5941

Please sign in to comment.