From 33486cdf04880375229a458cdf25196a503968fc Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 4 Aug 2024 20:29:04 +0200 Subject: Add option to choose render api (glx or egl) in window creation --- depends/mgl | 2 +- include/mglpp/window/Window.hpp | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/depends/mgl b/depends/mgl index 6d4f639..1636127 160000 --- a/depends/mgl +++ b/depends/mgl @@ -1 +1 @@ -Subproject commit 6d4f639c9c0abd3f39e4382f2be3a9d2d56a3104 +Subproject commit 1636127a6edfbf5399d1706c1a6c58f87eeb5c79 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(); -- cgit v1.2.3