From 2e5b9a860e69afc9fa5259c7b1f0bd52857d475e Mon Sep 17 00:00:00 2001 From: Frank Praznik Date: Thu, 11 Jun 2026 12:55:49 -0400 Subject: [PATCH] wayland: Explicitly specify EGL platform --- src/video/wayland/SDL_waylandopengles.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/wayland/SDL_waylandopengles.c b/src/video/wayland/SDL_waylandopengles.c index 827e0b7de0..e0af9253c9 100644 --- a/src/video/wayland/SDL_waylandopengles.c +++ b/src/video/wayland/SDL_waylandopengles.c @@ -40,7 +40,7 @@ int Wayland_GLES_LoadLibrary(_THIS, const char *path) int ret; SDL_VideoData *data = (SDL_VideoData *)_this->driverdata; - ret = SDL_EGL_LoadLibrary(_this, path, (NativeDisplayType) data->display, 0); + ret = SDL_EGL_LoadLibrary(_this, path, (NativeDisplayType) data->display, EGL_PLATFORM_WAYLAND_KHR); Wayland_PumpEvents(_this); WAYLAND_wl_display_flush(data->display);