mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-22 21:43:40 +00:00
[client] egl: fix dmabuf support
This commit is contained in:
parent
964403b4f8
commit
f07e4839b1
@ -576,7 +576,8 @@ enum EGL_TexStatus egl_texture_bind(EGL_Texture * texture)
|
||||
sd = atomic_fetch_add_explicit(&texture->state.d, 1,
|
||||
memory_order_release) + 1;
|
||||
|
||||
tex = texture->tex[sd % BUFFER_COUNT];
|
||||
if (!texture->dma)
|
||||
tex = texture->tex[sd % BUFFER_COUNT];
|
||||
}
|
||||
|
||||
glActiveTexture(GL_TEXTURE0);
|
||||
|
Loading…
Reference in New Issue
Block a user