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
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:
@@ -87,4 +87,23 @@
|
||||
#define MAX_TAP_VALUES 10
|
||||
#endif
|
||||
|
||||
/* OPENGL */
|
||||
|
||||
#ifndef OPENGL_MAJOR_VERSION
|
||||
#define OPENGL_MAJOR_VERSION 4
|
||||
#endif
|
||||
|
||||
#ifndef OPENGL_MINOR_VERSION
|
||||
#define OPENGL_MINOR_VERSION 6
|
||||
#endif
|
||||
|
||||
/* GLFW CONSTANTS */
|
||||
#ifndef GLFW_BACKENDS
|
||||
#define GLFW_BACKEND_ANY 0
|
||||
#define GLFW_BACKEND_X11 1
|
||||
#define GLFW_BACKEND_WAYLAND 2
|
||||
#define GLFW_BACKEND_COCOA 3
|
||||
#define GLFW_BACKEND_WIN32 4
|
||||
#endif
|
||||
|
||||
#endif /* CONFIG_H */
|
||||
|
||||
Reference in New Issue
Block a user