[KMS/DRM] Fix build warning.

This commit is contained in:
Manuel Alfayate Corchete 2021-02-06 16:05:55 +01:00
parent 6ee53258cd
commit 19fa85d8af
1 changed files with 5 additions and 9 deletions

View File

@ -47,13 +47,9 @@ SDL_KMSDRM_SYM(int,drmModeAddFB,(int fd, uint32_t width, uint32_t height, uint8_
uint32_t *buf_id))
SDL_KMSDRM_SYM(int,drmModeAddFB2,(int fd, uint32_t width, uint32_t height,
uint32_t pixel_format,
uint32_t bo_handles[4],
uint32_t pitches[4],
uint32_t offsets[4],
uint32_t * buf_id,
uint32_t flags
))
uint32_t pixel_format, const uint32_t bo_handles[4],
const uint32_t pitches[4], const uint32_t offsets[4],
uint32_t *buf_id, uint32_t flags))
SDL_KMSDRM_SYM(int,drmModeRmFB,(int fd, uint32_t bufferId))
SDL_KMSDRM_SYM(drmModeFBPtr,drmModeGetFB,(int fd, uint32_t buf))