fix: add opengl metadata
Clang Lint CI / lint-no-video (push) Successful in 51s
Clang Build CI / run-no-video (push) Successful in 57s
Clang Build CI / run-video (push) Successful in 59s
Clang Build CI / build-release (push) Successful in 1m25s
Clang Lint CI / lint-video (push) Successful in 47s

This commit is contained in:
2026-08-27 18:28:18 +02:00
parent 6110e1df7f
commit b2cde7f6ca
+7
View File
@@ -17,6 +17,13 @@ static void init_glfw(void (*error_callback)(int, const char *),
// print current GLFW version // print current GLFW version
log_info("[GLFW] %s", glfwGetVersionString()); 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) { switch (backend) {
#ifdef GLFW_PLATFORM #ifdef GLFW_PLATFORM
case GLFW_BACKEND_X11: case GLFW_BACKEND_X11: