1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 23:28:11 +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/OwnPtr.h>
#ifdef AK_OS_LINUX
# include <EGL/egl.h>
#endif
// Make sure egl.h doesn't give us definitions from X11 headers
#define EGL_NO_X11
#include <EGL/egl.h>
#undef EGL_NO_X11
namespace AccelGfx {