mirror of
https://gitlab.freedesktop.org/mesa/drm.git
synced 2026-05-05 20:38:04 +02:00
Pass pointer to drmModeRmMode.
This commit is contained in:
parent
5e86f67a34
commit
0bee83a8c8
1 changed files with 1 additions and 1 deletions
|
|
@ -368,7 +368,7 @@ uint32_t drmModeAddMode(int fd, struct drm_mode_modeinfo *mode_info)
|
|||
|
||||
int drmModeRmMode(int fd, uint32_t mode_id)
|
||||
{
|
||||
return ioctl(fd, DRM_IOCTL_MODE_RMMODE, mode_id);
|
||||
return ioctl(fd, DRM_IOCTL_MODE_RMMODE, &mode_id);
|
||||
}
|
||||
|
||||
int drmModeAttachMode(int fd, uint32_t output_id, uint32_t mode_id)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue