mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-03-05 16:20:50 +00:00
[client] egl: actually set the dma
texture member
This commit is contained in:
parent
19db67cfe5
commit
4334912e01
1 changed files with 1 additions and 0 deletions
|
@ -170,6 +170,7 @@ bool egl_texture_setup(EGL_Texture * texture, enum EGL_PixelFormat pixFmt, size_
|
||||||
texture->stride = stride;
|
texture->stride = stride;
|
||||||
texture->streaming = streaming;
|
texture->streaming = streaming;
|
||||||
texture->bufferCount = streaming ? BUFFER_COUNT : 1;
|
texture->bufferCount = streaming ? BUFFER_COUNT : 1;
|
||||||
|
texture->dma = useDMA;
|
||||||
texture->ready = false;
|
texture->ready = false;
|
||||||
|
|
||||||
atomic_store_explicit(&texture->state.w, 0, memory_order_relaxed);
|
atomic_store_explicit(&texture->state.w, 0, memory_order_relaxed);
|
||||||
|
|
Loading…
Add table
Reference in a new issue