mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-25 14:57:20 +00:00
[client] egl: fix dmabuf support
This commit is contained in:
parent
964403b4f8
commit
f07e4839b1
@ -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];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user