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
commit 2cc6abf309
Notes: sideshowbarker 2024-07-17 03:35:16 +09:00

View file

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