Add clang-format (#1086)

Co-authored-by: mwilsnd <mwilsnd@gmail.com>
This commit is contained in:
Bart Louwers
2023-05-01 16:57:37 +02:00
committed by GitHub
parent 403a12bd1b
commit 71f6da2722
1018 changed files with 27876 additions and 25862 deletions

View File

@@ -9,10 +9,11 @@ namespace platform {
#ifndef NDEBUG
void glCheckError(const char* cmd, const char* file, int line) {
if (GLenum err = glGetError()) {
Log::Warning(Event::OpenGL, "Error" + std::to_string(err) + ": " + cmd + " - " + file + ":" + std::to_string(line));
Log::Warning(Event::OpenGL,
"Error" + std::to_string(err) + ": " + cmd + " - " + file + ":" + std::to_string(line));
}
}
#endif
} // namespace platform
} // namespace mbgl
} // namespace platform
} // namespace mbgl