mirror of
https://github.com/zhenyan121/Cubed.git
synced 2026-08-09 02:07:04 +08:00
refactor(renderer): rename Logger level enum value DEBUG to L_DEBUG
This commit is contained in:
@@ -117,7 +117,7 @@ void Renderer::init() {
|
|||||||
glDebugMessageCallback(
|
glDebugMessageCallback(
|
||||||
[](GLenum source, GLenum type, GLuint id, GLenum severity,
|
[](GLenum source, GLenum type, GLuint id, GLenum severity,
|
||||||
GLsizei length, const GLchar* message, const void* user_param) {
|
GLsizei length, const GLchar* message, const void* user_param) {
|
||||||
Logger::log(Logger::Level::DEBUG, std::source_location::current(),
|
Logger::log(Logger::Level::L_DEBUG, std::source_location::current(),
|
||||||
"GL Debug: {}", reinterpret_cast<const char*>(message));
|
"GL Debug: {}", reinterpret_cast<const char*>(message));
|
||||||
},
|
},
|
||||||
nullptr);
|
nullptr);
|
||||||
|
|||||||
Reference in New Issue
Block a user