From cc4e46b3ec3c23d09208566f24cd474d14bb1edf Mon Sep 17 00:00:00 2001 From: Christoph Haag Date: Fri, 27 Aug 2021 02:21:33 +0200 Subject: [PATCH] xrt: typedef EGLenm too for GLES Used in XrSwapchainStateSamplerOpenGLESFB added in OpenXR SDK 1.0.16 --- src/xrt/include/xrt/xrt_openxr_includes.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xrt/include/xrt/xrt_openxr_includes.h b/src/xrt/include/xrt/xrt_openxr_includes.h index 9ab416bc6..8db5dcfa8 100644 --- a/src/xrt/include/xrt/xrt_openxr_includes.h +++ b/src/xrt/include/xrt/xrt_openxr_includes.h @@ -33,6 +33,7 @@ typedef void *GLXContext; typedef void *EGLDisplay; typedef void *EGLContext; typedef void *EGLConfig; +typedef unsigned int EGLenum; typedef void (*__eglMustCastToProperFunctionPointerType)(void); typedef __eglMustCastToProperFunctionPointerType (*PFNEGLGETPROCADDRESSPROC)(const char *procname); #endif