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 --- include/mglpp/window/Window.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'include') 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