mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2025-12-26 08:50:11 +01:00
pass pointer for drmModeRmFB
This commit is contained in:
parent
9906c7e54b
commit
5e86f67a34
1 changed files with 1 additions and 1 deletions
|
|
@ -212,7 +212,7 @@ int drmModeAddFB(int fd, uint32_t width, uint32_t height, uint8_t depth,
|
|||
|
||||
int drmModeRmFB(int fd, uint32_t bufferId)
|
||||
{
|
||||
return ioctl(fd, DRM_IOCTL_MODE_RMFB, bufferId);
|
||||
return ioctl(fd, DRM_IOCTL_MODE_RMFB, &bufferId);
|
||||
}
|
||||
|
||||
drmModeFBPtr drmModeGetFB(int fd, uint32_t buf)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue