Use wayland-egl-core.h instead of wayland-egl.h

-avoid use of transitive wayland include

-resolves https://github.com/godotengine/godot/issues/95830

Signed-off-by: Joel Winarske <joel.winarske@gmail.com>
(cherry picked from commit 6ce71f0fb0)
This commit is contained in:
Joel Winarske 2024-08-23 14:16:37 -07:00 committed by Rémi Verschelde
parent 219ddde30c
commit afc330e33f
No known key found for this signature in database
GPG Key ID: C3336907360768E1
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@
#include <wayland-client-core.h> #include <wayland-client-core.h>
#include <wayland-cursor.h> #include <wayland-cursor.h>
#ifdef GLES3_ENABLED #ifdef GLES3_ENABLED
#include <wayland-egl.h> #include <wayland-egl-core.h>
#endif #endif
#include <xkbcommon/xkbcommon.h> #include <xkbcommon/xkbcommon.h>
#endif // SOWRAP_ENABLED #endif // SOWRAP_ENABLED