Re: [E-devel] [EGIT] [core/efl] master 01/01: egl: silence warning of deprecated feature test.

Christopher Michael <[email protected]>
Newsgroups gmane.comp.window-managers.enlightenment.devel
Message-ID <[email protected]>
Looks much cleaner now Netstar :D


dh


On 5/18/21 11:36 AM, Alastair Poole wrote:
> netstar pushed a commit to branch master.
>
> http://git.enlightenment.org/core/efl.git/commit/?id=01f4e44fde5f36d60c6f9c53dbdb0c456b04f034
>
> commit 01f4e44fde5f36d60c6f9c53dbdb0c456b04f034
> Author: Alastair Poole <[email protected]>
> Date:   Tue May 18 16:34:44 2021 +0100
>
>      egl: silence warning of deprecated feature test.
> ---
>   src/modules/evas/engines/gl_common/evas_gl_common.h | 4 ++--
>   src/modules/evas/engines/gl_drm/evas_engine.h       | 4 ++--
>   src/modules/evas/engines/wayland_egl/evas_engine.h  | 4 ++--
>   3 files changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/src/modules/evas/engines/gl_common/evas_gl_common.h b/src/modules/evas/engines/gl_common/evas_gl_common.h
> index 14364ae9d3..6bfba60045 100644
> --- a/src/modules/evas/engines/gl_common/evas_gl_common.h
> +++ b/src/modules/evas/engines/gl_common/evas_gl_common.h
> @@ -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
> diff --git a/src/modules/evas/engines/gl_drm/evas_engine.h b/src/modules/evas/engines/gl_drm/evas_engine.h
> index 9530cde17c..d21bd5e67d 100644
> --- a/src/modules/evas/engines/gl_drm/evas_engine.h
> +++ b/src/modules/evas/engines/gl_drm/evas_engine.h
> @@ -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>
> diff --git a/src/modules/evas/engines/wayland_egl/evas_engine.h b/src/modules/evas/engines/wayland_egl/evas_engine.h
> index 3171632583..53d15a4013 100644
> --- a/src/modules/evas/engines/wayland_egl/evas_engine.h
> +++ b/src/modules/evas/engines/wayland_egl/evas_engine.h
> @@ -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>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.