From e00118db0593ecc89ccf0ea93d60e77fa7909bb3 Mon Sep 17 00:00:00 2001 From: Hans de Goede Date: Thu, 2 Feb 2017 19:15:42 +0100 Subject: [PATCH] Update eglext.h to 20161230 version this brings in some new defines needed by some apps / libraries --- eglext.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/eglext.h b/eglext.h index bc8f0ba..e520a48 100644 --- a/eglext.h +++ b/eglext.h @@ -40,6 +40,13 @@ extern "C" { #define EGL_EGLEXT_VERSION 20161230 +/* C++ / C typecast macros for special EGL handle values */ +#if defined(__cplusplus) +#define EGL_CAST(type, value) (static_cast(value)) +#else +#define EGL_CAST(type, value) ((type) (value)) +#endif + /* Generated C header for: * API: egl * Versions considered: .*