1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 11:37:44 +00:00

LibAccelGfx: Don't predicate using EGL/egl.h on Linux

Any platform that has OpenGL and EGL should be able to use the class.
This commit is contained in:
Andrew Kaster 2023-11-01 13:41:25 -06:00 committed by Andrew Kaster
parent 40363f54d8
commit 2cc6abf309

View file

@ -9,9 +9,10 @@
#include <AK/Assertions.h> #include <AK/Assertions.h>
#include <AK/OwnPtr.h> #include <AK/OwnPtr.h>
#ifdef AK_OS_LINUX // Make sure egl.h doesn't give us definitions from X11 headers
# include <EGL/egl.h> #define EGL_NO_X11
#endif #include <EGL/egl.h>
#undef EGL_NO_X11
namespace AccelGfx { namespace AccelGfx {