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>
This commit is contained in:
Joel Winarske 2024-08-23 14:16:37 -07:00
parent a1acd38c35
commit 6ce71f0fb0
1 changed files with 1 additions and 1 deletions

View File

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