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.) --HG-- extra : rebase_source : a70906fcb36821bd1578b5913de14cb5c35cb0d3
This commit is contained in:
parent
2601ef1f2d
commit
b6591a8ec7
3 changed files with 3 additions and 1 deletions
1
configure
vendored
1
configure
vendored
|
@ -21775,6 +21775,7 @@ $as_echo_n "checking for EGL support... " >&6; }
|
|||
|
||||
#define LINUX
|
||||
#define EGL_API_FB
|
||||
#define MESA_EGL_NO_X11_HEADERS
|
||||
#include <EGL/egl.h>
|
||||
#include <EGL/eglext.h>
|
||||
|
||||
|
|
|
@ -2340,6 +2340,7 @@ CheckOpenGLESX11()
|
|||
AC_TRY_COMPILE([
|
||||
#define LINUX
|
||||
#define EGL_API_FB
|
||||
#define MESA_EGL_NO_X11_HEADERS
|
||||
#include <EGL/egl.h>
|
||||
#include <EGL/eglext.h>
|
||||
],[
|
||||
|
|
|
@ -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