mirror of https://github.com/encounter/SDL.git
[KMS/DRM] Fix build warning.
This commit is contained in:
parent
6ee53258cd
commit
19fa85d8af
|
@ -47,13 +47,9 @@ SDL_KMSDRM_SYM(int,drmModeAddFB,(int fd, uint32_t width, uint32_t height, uint8_
|
||||||
uint32_t *buf_id))
|
uint32_t *buf_id))
|
||||||
|
|
||||||
SDL_KMSDRM_SYM(int,drmModeAddFB2,(int fd, uint32_t width, uint32_t height,
|
SDL_KMSDRM_SYM(int,drmModeAddFB2,(int fd, uint32_t width, uint32_t height,
|
||||||
uint32_t pixel_format,
|
uint32_t pixel_format, const uint32_t bo_handles[4],
|
||||||
uint32_t bo_handles[4],
|
const uint32_t pitches[4], const uint32_t offsets[4],
|
||||||
uint32_t pitches[4],
|
uint32_t *buf_id, uint32_t flags))
|
||||||
uint32_t offsets[4],
|
|
||||||
uint32_t * buf_id,
|
|
||||||
uint32_t flags
|
|
||||||
))
|
|
||||||
|
|
||||||
SDL_KMSDRM_SYM(int,drmModeRmFB,(int fd, uint32_t bufferId))
|
SDL_KMSDRM_SYM(int,drmModeRmFB,(int fd, uint32_t bufferId))
|
||||||
SDL_KMSDRM_SYM(drmModeFBPtr,drmModeGetFB,(int fd, uint32_t buf))
|
SDL_KMSDRM_SYM(drmModeFBPtr,drmModeGetFB,(int fd, uint32_t buf))
|
||||||
|
|
Loading…
Reference in New Issue