wayland: Explicitly specify EGL platform
Some checks are pending
Build (All) / level1 (push) Blocked by required conditions
Build (All) / level2 (push) Blocked by required conditions
Build (All) / Create test plan (push) Waiting to run

This commit is contained in:
Frank Praznik 2026-06-11 12:55:49 -04:00
parent b3aa7083e2
commit fea9b348c3
No known key found for this signature in database

View file

@ -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);