diff options
author | dec05eba <dec05eba@protonmail.com> | 2022-10-11 21:23:54 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2022-10-11 21:23:54 +0200 |
commit | 1d3eb88461165fcc7ab1d5efde022e6714050806 (patch) | |
tree | 7022ecf4ba639c0ab0fdc108fdb04de4222ef0d9 /include/mgl/window | |
parent | ac595a9b81c5bdf813882e9b7b14e12e3c81ab70 (diff) |
Add option to support alpha for window or not. This is important for nvidia flip
Diffstat (limited to 'include/mgl/window')
-rw-r--r-- | include/mgl/window/window.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/mgl/window/window.h b/include/mgl/window/window.h index 7dd85b4..34f8cbb 100644 --- a/include/mgl/window/window.h +++ b/include/mgl/window/window.h @@ -52,6 +52,7 @@ typedef struct { mgl_window_handle parent_window; /* 0 = root window */ bool hidden; /* false by default */ bool override_redirect; /* false by default */ + bool support_alpha; /* support alpha for the window, false by default */ } mgl_window_create_params; typedef enum { |