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>
This commit is contained in:
Kamal Pandey 2019-04-04 19:45:45 +05:30
parent 6f9db6c4a1
commit 53d7c243ba
1 changed files with 1 additions and 1 deletions

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