From cd819d21cd854fee6176dbd9d6ad04c5f976815b Mon Sep 17 00:00:00 2001 From: Ronan Le Martret Date: Fri, 16 Feb 2018 13:35:52 +0100 Subject: [COMMUNITY] Fix EGL CAST macro Change-Id: I16d27f915a7acccf8d54cc7278536ded59632a8e Signed-off-by: Ronan Le Martret --- .../gles-module/gles-user-module/Fix_EGL_CAST_macro.diff | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 meta-rcar-gen3/recipes-graphics/gles-module/gles-user-module/Fix_EGL_CAST_macro.diff (limited to 'meta-rcar-gen3/recipes-graphics/gles-module/gles-user-module') diff --git a/meta-rcar-gen3/recipes-graphics/gles-module/gles-user-module/Fix_EGL_CAST_macro.diff b/meta-rcar-gen3/recipes-graphics/gles-module/gles-user-module/Fix_EGL_CAST_macro.diff new file mode 100644 index 0000000..399e86c --- /dev/null +++ b/meta-rcar-gen3/recipes-graphics/gles-module/gles-user-module/Fix_EGL_CAST_macro.diff @@ -0,0 +1,13 @@ +diff --git a/usr/include/EGL/eglext.h b/usr/include/EGL/eglext.h +index 4c53540..1606f1d 100644 +--- a/usr/include/EGL/eglext.h ++++ b/usr/include/EGL/eglext.h +@@ -288,7 +288,7 @@ EGLAPI EGLBoolean EGLAPIENTRY eglStreamConsumerReleaseKHR (EGLDisplay dpy, EGLSt + #define EGL_KHR_stream_cross_process_fd 1 + typedef int EGLNativeFileDescriptorKHR; + #ifdef EGL_KHR_stream +-#define EGL_NO_FILE_DESCRIPTOR_KHR EGL_CAST((EGLNativeFileDescriptorKHR,(-1)) ++#define EGL_NO_FILE_DESCRIPTOR_KHR EGL_CAST(EGLNativeFileDescriptorKHR,(-1)) + typedef EGLNativeFileDescriptorKHR (EGLAPIENTRYP PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream); + typedef EGLStreamKHR (EGLAPIENTRYP PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC) (EGLDisplay dpy, EGLNativeFileDescriptorKHR file_descriptor); + #ifdef EGL_EGLEXT_PROTOTYPES -- cgit 1.2.3-korg