feat(window): can specify opengl version from args
Clang Build CI / run-no-video (push) Failing after 48s
Clang Lint CI / lint-no-video (push) Failing after 48s
Clang Build CI / run-video (push) Failing after 50s
Clang Build CI / build-release (push) Failing after 1m12s
Clang Lint CI / lint-video (push) Failing after 51s

This commit is contained in:
2026-08-27 16:29:06 +02:00
parent 73dd4b75d3
commit 1c44239a8d
7 changed files with 60 additions and 19 deletions
-6
View File
@@ -3,12 +3,6 @@
#ifndef CONSTANTS_H
#define CONSTANTS_H
static const unsigned int GLFW_BACKEND_ANY = 0;
static const unsigned int GLFW_BACKEND_X11 = 1;
static const unsigned int GLFW_BACKEND_WAYLAND = 2;
static const unsigned int GLFW_BACKEND_COCOA = 3;
static const unsigned int GLFW_BACKEND_WIN32 = 4;
static const char *vertex_shader_text =
"#version 460\n"
"const mat4 mvp = "