summaryrefslogtreecommitdiff
path: root/src/amdgpu_glamor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/amdgpu_glamor.h')
-rw-r--r--src/amdgpu_glamor.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/amdgpu_glamor.h b/src/amdgpu_glamor.h
index 4473495..78fec0b 100644
--- a/src/amdgpu_glamor.h
+++ b/src/amdgpu_glamor.h
@@ -32,10 +32,6 @@
#define GLAMOR_FOR_XORG 1
#include <glamor.h>
-#ifndef CREATE_PIXMAP_USAGE_SHARED
-#define CREATE_PIXMAP_USAGE_SHARED AMDGPU_CREATE_PIXMAP_DRI2
-#endif
-
#define AMDGPU_CREATE_PIXMAP_SHARED(usage) \
((usage) == AMDGPU_CREATE_PIXMAP_DRI2 || \
(usage) == CREATE_PIXMAP_USAGE_SHARED)