summaryrefslogtreecommitdiff
path: root/include/EGL
diff options
context:
space:
mode:
authorEric Engestrom <eric.engestrom@intel.com>2019-11-16 17:51:27 +0000
committerEric Engestrom <eric.engestrom@intel.com>2019-11-19 22:00:24 +0000
commit99788de90956112936fd883c0ae4e351f6a7e2da (patch)
treeff645eb3a0042adc9a2004e2880330f957dd421c /include/EGL
parent344859c32d00e444e4e820642541628b36c0622e (diff)
egl: use EGL_CAST() macro in eglmesaext.h
Allows eglmesaext.h to be used in C++ code. This aligns this file with the rest of EGL. Signed-off-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-By: Tapani Pälli <tapani.palli@intel.com>
Diffstat (limited to 'include/EGL')
-rw-r--r--include/EGL/eglmesaext.h2
1 files changed, 1 insertions, 1 deletions
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