diff options
author | Simon Ser <contact@emersion.fr> | 2022-12-12 23:08:48 +0100 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2022-12-12 23:08:48 +0100 |
commit | 80074d95fba4fea5b8de1c2e948016eac63caec2 (patch) | |
tree | 4d5ae99a84543dbfe500d11e29612d1656128739 /include/wlr/render/dmabuf.h | |
parent | 8f58c060fd6095e34ede2a2d1c14caea517636e7 (diff) |
egl: consistently use EGLint for DMA-BUF format
EGL_EXT_image_dma_buf_import_modifiers [1] uses EGLint to carry
formats. We were casting it to int (which may not be the same
width) and uint32_t (which may change the value).
Instead, use EGLint everywhere.
[1]: https://registry.khronos.org/EGL/extensions/EXT/EGL_EXT_image_dma_buf_import_modifiers.txt
Diffstat (limited to 'include/wlr/render/dmabuf.h')
0 files changed, 0 insertions, 0 deletions