aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-08-04 21:47:14 +0200
committerdec05eba <dec05eba@protonmail.com>2024-08-04 21:47:14 +0200
commit2aa81b741c0097652de0b988ed4d5e071b14501c (patch)
tree00351e6a7285c07ec82736c23beac0b46a6129b6 /src
parent3a20c417cbf7d5db1d9d26abfbda388e58f96c18 (diff)
Switch to EGL
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 07aca20..636d3a2 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -410,6 +410,7 @@ int main(int argc, char **argv) {
window_create_params.background_color = bg_color;
window_create_params.support_alpha = true;
window_create_params.window_type = MGL_WINDOW_TYPE_NOTIFICATION;
+ window_create_params.render_api = MGL_RENDER_API_EGL;
mgl::Window window;
if(!window.create("gsr overlay", window_create_params))