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:
parent
40363f54d8
commit
2cc6abf309
1 changed files with 4 additions and 3 deletions
|
@ -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 {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue