Add weston 6.0.0 for WM and HS rewrite
[AGL/meta-agl.git] / meta-agl-bsp / meta-ti / recipes-arago / weston / weston / 0001-FIX-weston-clients-typo-in-simple-dmabuf-egl.c.patch
1 From 53d7c243ba0baa052081735b8effff4e2679ce65 Mon Sep 17 00:00:00 2001
2 From: Kamal Pandey <kamal.pandey@ifm.com>
3 Date: Thu, 4 Apr 2019 19:45:45 +0530
4 Subject: [PATCH] FIX: weston: clients: typo in simple-dmabuf-egl.c
5
6 Fix variable EGL_NO_IMAGE to EGL_NO_IMAGE_KHR in
7 clients/simple-dmabuf-egl.c
8
9 Signed-off-by: Kamal Pandey <pandeykamal13526@gmail.com>
10 ---
11  clients/simple-dmabuf-egl.c | 2 +-
12  1 file changed, 1 insertion(+), 1 deletion(-)
13
14 diff --git a/clients/simple-dmabuf-egl.c b/clients/simple-dmabuf-egl.c
15 index 75d880e08..2d99c4709 100644
16 --- a/clients/simple-dmabuf-egl.c
17 +++ b/clients/simple-dmabuf-egl.c
18 @@ -293,7 +293,7 @@ create_fbo_for_buffer(struct display *display, struct buffer *buffer)
19                                                       EGL_NO_CONTEXT,
20                                                       EGL_LINUX_DMA_BUF_EXT,
21                                                       NULL, attribs);
22 -       if (buffer->egl_image == EGL_NO_IMAGE) {
23 +       if (buffer->egl_image == EGL_NO_IMAGE_KHR) {
24                 fprintf(stderr, "EGLImageKHR creation failed\n");
25                 return false;
26         }
27 -- 
28 2.21.0
29