From c069267c7e3d7576e8aea1cab149ce9090bc9b82 Mon Sep 17 00:00:00 2001 From: Nathan Date: Mon, 2 Feb 2026 14:20:40 -0600 Subject: [PATCH] update GLFW Error callback --- include/utils/Window/WindowGLFW/WindowGLFW.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/utils/Window/WindowGLFW/WindowGLFW.h b/include/utils/Window/WindowGLFW/WindowGLFW.h index db9aee8..5ba48c9 100644 --- a/include/utils/Window/WindowGLFW/WindowGLFW.h +++ b/include/utils/Window/WindowGLFW/WindowGLFW.h @@ -24,7 +24,7 @@ namespace Archimedes { data.sendEvent = sendEvent; glfwSetErrorCallback([](int e, const char* m){ - std::cout << "GLFW Error: " << m << std::endl; + std::cout << "GLFW Error " << e << ": " << m << std::endl; }); if(!glfwInit()) { @@ -34,6 +34,7 @@ namespace Archimedes { w = glfwCreateWindow(640, 480, "Archimedes", NULL, NULL); if(!w) { + std::cout << "glfwCreateWindow failed!\n"; glfwTerminate(); std::abort(); }