aboutsummaryrefslogtreecommitdiff
path: root/src/egl.c
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-08-08 01:45:35 +0200
committerdec05eba <dec05eba@protonmail.com>2024-08-08 01:45:35 +0200
commit846241189e2a73dcd11605d3f77d61dce0469e02 (patch)
treede0ea3a682bfc41ae0cd1256ae10d075461c26f1 /src/egl.c
parent7bee923938bc1756110461c916a945979a7c197b (diff)
Add -portal-session-token-filepath option to specify where desktop portal session token is saved/restore
Diffstat (limited to 'src/egl.c')
-rw-r--r--src/egl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/egl.c b/src/egl.c
index da8dc9f..87bb8fb 100644
--- a/src/egl.c
+++ b/src/egl.c
@@ -12,7 +12,7 @@
#include <unistd.h>
#include <sys/capability.h>
-// TODO: rename gsr_egl to something else since this includes both egl and eglx and in the future maybe vulkan too
+// TODO: rename gsr_egl to something else since this includes both egl and glx and in the future maybe vulkan too
// TODO: Move this shit to a separate wayland file, and have a separate file for x11.
@@ -251,6 +251,7 @@ static bool gsr_egl_create_window(gsr_egl *self, bool wayland) {
}
if(wayland) {
+ // TODO: Error check?
self->wayland.surface = wl_compositor_create_surface(self->wayland.compositor);
self->wayland.window = wl_egl_window_create(self->wayland.surface, 16, 16);
self->egl_surface = self->eglCreateWindowSurface(self->egl_display, ecfg, (EGLNativeWindowType)self->wayland.window, NULL);