egl: silence warning of deprecated feature test.

This commit is contained in:
Alastair Poole 2021-05-18 16:34:44 +01:00
parent 4e8bd36ce8
commit 01f4e44fde
3 changed files with 6 additions and 6 deletions

View File

@ -14,8 +14,8 @@
#define GL_GLEXT_PROTOTYPES
#if !defined(HAVE_ECORE_X_XLIB) && !defined(MESA_EGL_NO_X11_HEADERS)
# define MESA_EGL_NO_X11_HEADERS
#if !defined(HAVE_ECORE_X_XLIB) && !defined(EGL_NO_X11)
# define EGL_NO_X11
#endif
#ifndef EVAS_GL_NO_HEADERS

View File

@ -15,8 +15,8 @@
# define EGL_EGLEXT_PROTOTYPES
# define GL_GLEXT_PROTOTYPES
# if !defined(HAVE_ECORE_X_XLIB) && !defined(MESA_EGL_NO_X11_HEADERS)
# define MESA_EGL_NO_X11_HEADERS
# if !defined(HAVE_ECORE_X_XLIB) && !defined(EGL_NO_X11)
# define EGL_NO_X11
# endif
# include <EGL/egl.h>

View File

@ -12,8 +12,8 @@
# define GL_GLEXT_PROTOTYPES
# if !defined(HAVE_ECORE_X_XLIB) && !defined(MESA_EGL_NO_X11_HEADERS)
# define MESA_EGL_NO_X11_HEADERS
# if !defined(HAVE_ECORE_X_XLIB) && !defined(EGL_NO_X11)
# define EGL_NO_X11
# endif
# include <EGL/egl.h>