diff options
author | Eric Engestrom <[email protected]> | 2019-11-16 17:51:27 +0000 |
---|---|---|
committer | Eric Engestrom <[email protected]> | 2019-11-19 22:00:24 +0000 |
commit | 99788de90956112936fd883c0ae4e351f6a7e2da (patch) | |
tree | ff645eb3a0042adc9a2004e2880330f957dd421c /include | |
parent | 344859c32d00e444e4e820642541628b36c0622e (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 <[email protected]>
Reviewed-By: Tapani Pälli <[email protected]>
Diffstat (limited to 'include')
-rw-r--r-- | include/EGL/eglmesaext.h | 2 |
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 |