mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-22 13:37:22 +00:00
[client] egl: fix the incorrect mask for dmabuf plane0 modifier
This commit is contained in:
parent
af51ea6d0b
commit
d376dc4b5a
@ -138,7 +138,7 @@ static bool egl_texDMABUFUpdate(EGL_Texture * texture,
|
|||||||
EGL_DMA_BUF_PLANE0_FD_EXT , update->dmaFD,
|
EGL_DMA_BUF_PLANE0_FD_EXT , update->dmaFD,
|
||||||
EGL_DMA_BUF_PLANE0_OFFSET_EXT , 0,
|
EGL_DMA_BUF_PLANE0_OFFSET_EXT , 0,
|
||||||
EGL_DMA_BUF_PLANE0_PITCH_EXT , texture->format.stride,
|
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_DMA_BUF_PLANE0_MODIFIER_HI_EXT, (modifier >> 32),
|
||||||
EGL_NONE , EGL_NONE
|
EGL_NONE , EGL_NONE
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user