From 99788de90956112936fd883c0ae4e351f6a7e2da Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Sat, 16 Nov 2019 17:51:27 +0000 Subject: [PATCH] egl: use EGL_CAST() macro in eglmesaext.h MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Allows eglmesaext.h to be used in C++ code. This aligns this file with the rest of EGL. Signed-off-by: Eric Engestrom Reviewed-By: Tapani Pälli --- include/EGL/eglmesaext.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/EGL/eglmesaext.h b/include/EGL/eglmesaext.h index f4332b279f8..fe5c7d91658 100644 --- a/include/EGL/eglmesaext.h +++ b/include/EGL/eglmesaext.h @@ -76,7 +76,7 @@ typedef EGLBoolean (EGLAPIENTRYP PFNEGLSWAPBUFFERSREGIONNOK) (EGLDisplay dpy, EG #ifndef EGL_MESA_configless_context #define EGL_MESA_configless_context 1 -#define EGL_NO_CONFIG_MESA ((EGLConfig)0) +#define EGL_NO_CONFIG_MESA EGL_CAST(EGLConfig,0) #endif #ifndef EGL_MESA_drm_image_formats -- 2.30.2