瀏覽代碼

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>
master
Eric Engestrom 7 年之前
父節點
當前提交
99788de909
共有 1 個檔案被更改,包括 1 行新增 和 1 行删除
  1. 1
    1
      include/EGL/eglmesaext.h

+ 1
- 1
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

Loading…
取消
儲存