diff options
author | Jakob Bornecrantz <jakob@tungstengraphics.com> | 2008-10-24 18:43:55 +0200 |
---|---|---|
committer | Jakob Bornecrantz <jakob@tungstengraphics.com> | 2008-10-24 18:46:47 +0200 |
commit | 34a3ebffc369575412a4ff2c05c50264e83c6d3e (patch) | |
tree | 7003ae94a85929c9c89bdb794b45b7c17807e561 /libdrm | |
parent | 0796bf8c6b983de7fbb188bd5d84d4ea54f81525 (diff) |
mode: Try to settle on a standard for struct fields
Diffstat (limited to 'libdrm')
-rw-r--r-- | libdrm/xf86drmMode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libdrm/xf86drmMode.c b/libdrm/xf86drmMode.c index c3921ee9..a25b11bb 100644 --- a/libdrm/xf86drmMode.c +++ b/libdrm/xf86drmMode.c @@ -308,7 +308,7 @@ int drmModeSetCursor(int fd, uint32_t crtcId, uint32_t bo_handle, uint32_t width struct drm_mode_cursor arg; arg.flags = DRM_MODE_CURSOR_BO; - arg.crtc = crtcId; + arg.crtc_id = crtcId; arg.width = width; arg.height = height; arg.handle = bo_handle; @@ -321,7 +321,7 @@ int drmModeMoveCursor(int fd, uint32_t crtcId, int x, int y) struct drm_mode_cursor arg; arg.flags = DRM_MODE_CURSOR_MOVE; - arg.crtc = crtcId; + arg.crtc_id = crtcId; arg.x = x; arg.y = y; |