aboutsummaryrefslogtreecommitdiff
path: root/libdrm
diff options
context:
space:
mode:
authorJerome Glisse <glisse@freedesktop.org>2008-10-27 19:33:56 +0100
committerJerome Glisse <glisse@freedesktop.org>2008-10-27 19:33:56 +0100
commit3b17b50e9c49ae113c7ad1c4a0af51e873de1a7e (patch)
treef583b8916eb28700600db5a3f40bf15594bf61c0 /libdrm
parent7617d1fef7b743349b470e4a62388174bbffb56b (diff)
parent389b7617b5b88b6270af5b3824fe73519900c87f (diff)
Merge branch 'modesetting-gem' of ssh://git.freedesktop.org/git/mesa/drm into modesetting-gem
Diffstat (limited to 'libdrm')
-rw-r--r--libdrm/xf86drmMode.c4
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;