diff options
author | Jakob Bornecrantz <[email protected]> | 2010-01-28 17:59:26 +0100 |
---|---|---|
committer | Jakob Bornecrantz <[email protected]> | 2010-01-28 18:37:54 +0000 |
commit | c75e238434f64657e96f09e0215f02cefa6ad6d6 (patch) | |
tree | 37396501cd3bd0e28ee0aa95e23d52105879bbed /src/gallium/state_trackers/xorg/xorg_crtc.c | |
parent | 32e6043150077662323c66ff05334c8d8952fc04 (diff) |
st/xorg: Update to new libkms interface but be backwards compatible
Diffstat (limited to 'src/gallium/state_trackers/xorg/xorg_crtc.c')
-rw-r--r-- | src/gallium/state_trackers/xorg/xorg_crtc.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/state_trackers/xorg/xorg_crtc.c b/src/gallium/state_trackers/xorg/xorg_crtc.c index 2786558b767..2395d549752 100644 --- a/src/gallium/state_trackers/xorg/xorg_crtc.c +++ b/src/gallium/state_trackers/xorg/xorg_crtc.c @@ -242,7 +242,11 @@ crtc_load_cursor_argb_kms(xf86CrtcPtr crtc, CARD32 * image) unsigned attr[8]; attr[0] = KMS_BO_TYPE; +#ifdef KMS_BO_TYPE_CURSOR_64X64_A8R8G8B8 + attr[1] = KMS_BO_TYPE_CURSOR_64X64_A8R8G8B8; +#else attr[1] = KMS_BO_TYPE_CURSOR; +#endif attr[2] = KMS_WIDTH; attr[3] = 64; attr[4] = KMS_HEIGHT; |