summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamal Pandey <kamal.pandey@ifm.com>2019-04-04 19:45:45 +0530
committerSimon Ser <contact@emersion.fr>2019-06-19 07:44:51 +0000
commitdf842e64a2de7392b72c7907082860263fc508e7 (patch)
treede4d0adeea01dce2e87a5ab6714a4ebda22a84f3
parent8ba1302951919dda1f1b1ab6234dd038b5f60e04 (diff)
downloadweston-df842e64a2de7392b72c7907082860263fc508e7.tar.gz
FIX: weston: clients: typo in simple-dmabuf-egl.c
Fix variable EGL_NO_IMAGE to EGL_NO_IMAGE_KHR in clients/simple-dmabuf-egl.c Signed-off-by: Kamal Pandey <pandeykamal13526@gmail.com> (cherry picked from commit 53d7c243ba0baa052081735b8effff4e2679ce65)
-rw-r--r--clients/simple-dmabuf-egl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clients/simple-dmabuf-egl.c b/clients/simple-dmabuf-egl.c
index 75d880e0..2d99c470 100644
--- a/clients/simple-dmabuf-egl.c
+++ b/clients/simple-dmabuf-egl.c
@@ -293,7 +293,7 @@ create_fbo_for_buffer(struct display *display, struct buffer *buffer)
EGL_NO_CONTEXT,
EGL_LINUX_DMA_BUF_EXT,
NULL, attribs);
- if (buffer->egl_image == EGL_NO_IMAGE) {
+ if (buffer->egl_image == EGL_NO_IMAGE_KHR) {
fprintf(stderr, "EGLImageKHR creation failed\n");
return false;
}