From d376dc4b5aff896ba4469af6a4636a046f6b32da Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Sat, 30 Jul 2022 22:08:47 +1000 Subject: [PATCH] [client] egl: fix the incorrect mask for dmabuf plane0 modifier --- client/renderers/EGL/texture_dmabuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/renderers/EGL/texture_dmabuf.c b/client/renderers/EGL/texture_dmabuf.c index 00867100..32d4b25c 100644 --- a/client/renderers/EGL/texture_dmabuf.c +++ b/client/renderers/EGL/texture_dmabuf.c @@ -138,7 +138,7 @@ static bool egl_texDMABUFUpdate(EGL_Texture * texture, EGL_DMA_BUF_PLANE0_FD_EXT , update->dmaFD, EGL_DMA_BUF_PLANE0_OFFSET_EXT , 0, EGL_DMA_BUF_PLANE0_PITCH_EXT , texture->format.stride, - EGL_DMA_BUF_PLANE0_MODIFIER_LO_EXT, (modifier & 0xffffff), + EGL_DMA_BUF_PLANE0_MODIFIER_LO_EXT, (modifier & 0xffffffff), EGL_DMA_BUF_PLANE0_MODIFIER_HI_EXT, (modifier >> 32), EGL_NONE , EGL_NONE };