aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-08-04 20:29:04 +0200
committerdec05eba <dec05eba@protonmail.com>2024-08-04 20:29:04 +0200
commit33486cdf04880375229a458cdf25196a503968fc (patch)
tree2968f6d5271a4597d4ee830d2eb0e6adf6e84054
parent5d5a88afbc57ee72c7bbab05ee58aebd64ee3f66 (diff)
Add option to choose render api (glx or egl) in window creation
m---------depends/mgl0
-rw-r--r--include/mglpp/window/Window.hpp1
2 files changed, 1 insertions, 0 deletions
diff --git a/depends/mgl b/depends/mgl
-Subproject 6d4f639c9c0abd3f39e4382f2be3a9d2d56a310
+Subproject 1636127a6edfbf5399d1706c1a6c58f87eeb5c7
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();