diff options
Diffstat (limited to 'source/30-game/main.cpp')
-rw-r--r-- | source/30-game/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/30-game/main.cpp b/source/30-game/main.cpp index 89f0e97..d98f225 100644 --- a/source/30-game/main.cpp +++ b/source/30-game/main.cpp @@ -2,7 +2,7 @@ #include "AppConfig.hpp" #include "CommonVertexIndex.hpp" -#include "EditorGuizmo.hpp" +#include "ImGuiGuizmo.hpp" #include "Ires.hpp" #include "Level.hpp" #include "Material.hpp" @@ -36,7 +36,7 @@ void GlfwErrorCallback(int error, const char* description) { fprintf(stderr, "[GLFW] Error %d: %s\n", error, description); } -void OpenGLDebugCallback(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar* message, const void* userParam​) { +void OpenGLDebugCallback(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar* message, const void* userParam) { fprintf(stderr, "GL CALLBACK: %s type = 0x%x, severity = 0x%x, message = %s\n", (type == GL_DEBUG_TYPE_ERROR ? "** GL ERROR **" : ""), type, severity, message); } @@ -259,7 +259,7 @@ int main(int argc, char* argv[]) { // TODO check extension KHR_debug availability // TODO conan glad is not including any extensions // NOTE: KHR_debug is a core extension, which means it may be available in lower version even though the feature is added in 4.3 - + glEnable(GL_DEBUG_OUTPUT); glDebugMessageCallback(&OpenGLDebugCallback, 0); } |