mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-12 01:15:39 +00:00
egl: Don't force X11 support when testing for EGL.
Fixes building Wayland support on embedded systems without X11. (TODO: maybe move the EGL test out of the X11 tests at some point, too.)
This commit is contained in:
parent
1689e9f910
commit
2878d4f80c
3 changed files with 3 additions and 1 deletions
|
|
@ -33,7 +33,7 @@
|
|||
!!! FIXME: in Ubuntu 18.04 (and other distros).
|
||||
*/
|
||||
|
||||
|
||||
#define MESA_EGL_NO_X11_HEADERS
|
||||
#include <EGL/egl.h>
|
||||
#include "wayland-util.h"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue