summaryrefslogtreecommitdiff
path: root/src/amdgpu_dri2.c
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2015-04-24 09:50:51 +0900
committerMichel Dänzer <michel.daenzer@amd.com>2015-04-24 09:50:51 +0900
commitb947f4bf4efa8841bea4d306d0b0d21c7511c724 (patch)
treeb8aa66d63d2c2d216effb8c30c545a41ef96f34b /src/amdgpu_dri2.c
parentff62bf6e9dce55dbde92baf4fa30193c7344ee8a (diff)
Move #include "radeon_glamor.h" from amdgpu_drv.h to where it's needed
(cherry picked from radeon commit 4b8adebb80158bcf81ada83bb88517febe931b12) Reviewed-by: Christian König <christian.koenig@amd.com>
Diffstat (limited to 'src/amdgpu_dri2.c')
-rw-r--r--src/amdgpu_dri2.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/amdgpu_dri2.c b/src/amdgpu_dri2.c
index 26906d3..c018537 100644
--- a/src/amdgpu_dri2.c
+++ b/src/amdgpu_dri2.c
@@ -31,6 +31,7 @@
#include "amdgpu_drv.h"
#include "amdgpu_dri2.h"
+#include "amdgpu_glamor.h"
#include "amdgpu_video.h"
#include "amdgpu_pixmap.h"
@@ -67,8 +68,6 @@
#define FALLBACK_SWAP_DELAY 16
-#include <glamor.h>
-
typedef DRI2BufferPtr BufferPtr;
struct dri2_buffer_priv {