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 53d7c243ba)
This commit is contained in:
Kamal Pandey 2019-04-04 19:45:45 +05:30 committed by Simon Ser
parent 8ba1302951
commit df842e64a2

View file

@ -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;
}