mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-03-05 16:20:50 +00:00
[client] egl: fix dmabuf support
This commit is contained in:
parent
964403b4f8
commit
f07e4839b1
1 changed files with 2 additions and 1 deletions
|
@ -576,6 +576,7 @@ enum EGL_TexStatus egl_texture_bind(EGL_Texture * texture)
|
||||||
sd = atomic_fetch_add_explicit(&texture->state.d, 1,
|
sd = atomic_fetch_add_explicit(&texture->state.d, 1,
|
||||||
memory_order_release) + 1;
|
memory_order_release) + 1;
|
||||||
|
|
||||||
|
if (!texture->dma)
|
||||||
tex = texture->tex[sd % BUFFER_COUNT];
|
tex = texture->tex[sd % BUFFER_COUNT];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue