mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-25 23:07:18 +00:00
[client] egl: actually set the dma
texture member
This commit is contained in:
parent
19db67cfe5
commit
4334912e01
@ -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…
Reference in New Issue
Block a user