[client] egl: fix the incorrect mask for dmabuf plane0 modifier

This commit is contained in:
Geoffrey McRae 2022-07-30 22:08:47 +10:00
parent af51ea6d0b
commit d376dc4b5a

View File

@ -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
};