Fixed check on wrong EGLImage although it shouldn't technically matter
1 files changed, 1 insertions(+), 1 deletions(-) M src/dmabuf_source.c
M src/dmabuf_source.c +1 -1
@@ 285,7 285,7 @@ static void ready(void* data, struct zwl if(this->current_frame != NULL) { if(this->current_frame->img != NULL) { gs_texture_destroy(this->current_frame->texture); - if(this->next_frame->img != NULL) { + if(this->current_frame->img != NULL) { eglDestroyImage(eglGetCurrentDisplay(), this->current_frame->img); } }