diff options
author | Michel Dänzer <michel.daenzer@amd.com> | 2016-03-23 18:25:48 +0900 |
---|---|---|
committer | Michel Dänzer <michel@daenzer.net> | 2016-03-24 18:02:46 +0900 |
commit | e592f32f8b5f5873fcc18b10a69dd5e4ccf11073 (patch) | |
tree | 54e796d29b000e5c203e72e9da07153846f5b6e4 /src/radeon.h | |
parent | bde466e5d44cad64b4e4eceaa5de80fdbf86356e (diff) |
Require xserver 1.9 or newer
1.9.0 was released in August 2010.
We were already unintentionally relying on things not available in 1.8
for at least a year, and nobody has complained.
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/radeon.h')
-rw-r--r-- | src/radeon.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/radeon.h b/src/radeon.h index b9afd8ee..37d5fb60 100644 --- a/src/radeon.h +++ b/src/radeon.h @@ -272,19 +272,11 @@ struct radeon_pixmap { uint32_t handle; }; -#if HAS_DEVPRIVATEKEYREC extern DevPrivateKeyRec glamor_pixmap_index; -#else -extern int glamor_pixmap_index; -#endif static inline struct radeon_pixmap *radeon_get_pixmap_private(PixmapPtr pixmap) { -#if HAS_DEVPRIVATEKEYREC return dixGetPrivate(&pixmap->devPrivates, &glamor_pixmap_index); -#else - return dixLookupPrivate(&pixmap->devPrivates, &glamor_pixmap_index); -#endif } static inline void radeon_set_pixmap_private(PixmapPtr pixmap, struct radeon_pixmap *priv) |