summaryrefslogtreecommitdiff
path: root/src/amdgpu_pixmap.c
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2016-03-24 19:05:15 +0900
committerMichel Dänzer <michel@daenzer.net>2016-03-25 10:38:52 +0900
commitfbf9ae18cd241b8b78936aa30441e5fbfd9ba1c5 (patch)
treeff04955b2ba71d05c8783bef9dbb1bb02ec5c66b /src/amdgpu_pixmap.c
parent912db5fbbc6b9b1121c8a03168cb4bd870474376 (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. (Ported from radeon commit e592f32f8b5f5873fcc18b10a69dd5e4ccf11073) Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'src/amdgpu_pixmap.c')
-rw-r--r--src/amdgpu_pixmap.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/amdgpu_pixmap.c b/src/amdgpu_pixmap.c
index 0a1b0b1..f2008b5 100644
--- a/src/amdgpu_pixmap.c
+++ b/src/amdgpu_pixmap.c
@@ -103,11 +103,7 @@ static Bool amdgpu_pixmap_destroy(PixmapPtr pixmap)
/* This should only be called when glamor is disabled */
Bool amdgpu_pixmap_init(ScreenPtr screen)
{
-#if HAS_DIXREGISTERPRIVATEKEY
if (!dixRegisterPrivateKey(&amdgpu_pixmap_index, PRIVATE_PIXMAP, 0))
-#else
- if (!dixRequestPrivate(&amdgpu_pixmap_index, 0))
-#endif
return FALSE;
screen->CreatePixmap = amdgpu_pixmap_create;