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: