[client] egl: fix dmabuf support

This commit is contained in:
Geoffrey McRae 2021-06-08 20:51:09 +10:00
parent 964403b4f8
commit f07e4839b1

View File

@ -576,6 +576,7 @@ enum EGL_TexStatus egl_texture_bind(EGL_Texture * texture)
sd = atomic_fetch_add_explicit(&texture->state.d, 1,
memory_order_release) + 1;
if (!texture->dma)
tex = texture->tex[sd % BUFFER_COUNT];
}