[client] egl: actually set the dma texture member

This commit is contained in:
Geoffrey McRae 2021-01-09 22:16:40 +11:00
parent 19db67cfe5
commit 4334912e01

View File

@ -170,6 +170,7 @@ bool egl_texture_setup(EGL_Texture * texture, enum EGL_PixelFormat pixFmt, size_
texture->stride = stride;
texture->streaming = streaming;
texture->bufferCount = streaming ? BUFFER_COUNT : 1;
texture->dma = useDMA;
texture->ready = false;
atomic_store_explicit(&texture->state.w, 0, memory_order_relaxed);