diff options
author | dec05eba <dec05eba@protonmail.com> | 2024-08-04 20:29:04 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2024-08-04 20:29:04 +0200 |
commit | 33486cdf04880375229a458cdf25196a503968fc (patch) | |
tree | 2968f6d5271a4597d4ee830d2eb0e6adf6e84054 /include | |
parent | 5d5a88afbc57ee72c7bbab05ee58aebd64ee3f66 (diff) |
Add option to choose render api (glx or egl) in window creation
Diffstat (limited to 'include')
-rw-r--r-- | include/mglpp/window/Window.hpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mglpp/window/Window.hpp b/include/mglpp/window/Window.hpp index 6e4e485..42a8488 100644 --- a/include/mglpp/window/Window.hpp +++ b/include/mglpp/window/Window.hpp @@ -50,6 +50,7 @@ namespace mgl { const char *class_name = nullptr; mgl_window_type window_type = MGL_WINDOW_TYPE_NORMAL; WindowHandle transient_for_window = 0; /* 0 = none */ + mgl_render_api render_api = MGL_RENDER_API_GLX; }; Window(); |