From b2cde7f6ca826873a797bdf91407dbcfd0a1975a Mon Sep 17 00:00:00 2001 From: klemek Date: Thu, 27 Aug 2026 18:28:18 +0200 Subject: [PATCH] fix: add opengl metadata --- src/window.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/window.c b/src/window.c index 9254836..26a6908 100644 --- a/src/window.c +++ b/src/window.c @@ -17,6 +17,13 @@ static void init_glfw(void (*error_callback)(int, const char *), // print current GLFW version log_info("[GLFW] %s", glfwGetVersionString()); + // print OpenGL info + log_info("[GL] Vendor: %s", glGetString(GL_VENDOR)); + log_info("[GL] Renderer: %s", glGetString(GL_RENDERER)); + log_info("[GL] Version: %s", glGetString(GL_VERSION)); + log_info("[GL] Shading language: %s", + glGetString(GL_SHADING_LANGUAGE_VERSION)); + switch (backend) { #ifdef GLFW_PLATFORM case GLFW_BACKEND_X11: