summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/dri/dri2.c
diff options
context:
space:
mode:
authorEric Engestrom <[email protected]>2019-02-12 16:13:30 +0000
committerEric Engestrom <[email protected]>2019-02-14 11:20:00 +0000
commit7f68b38439efc1bce1208d5573cd92626064f8a3 (patch)
treee315106552059b18d1813d0a937bab2a4d8b8d57 /src/gallium/state_trackers/dri/dri2.c
parent2fa165e757b917d3818aec73d64f742570ccb78b (diff)
st/dri: drop duplicate #define
Signed-off-by: Eric Engestrom <[email protected]> Reviewed-by: Kristian H. Kristensen <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers/dri/dri2.c')
-rw-r--r--src/gallium/state_trackers/dri/dri2.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/gallium/state_trackers/dri/dri2.c b/src/gallium/state_trackers/dri/dri2.c
index e734128b53f..668d177c371 100644
--- a/src/gallium/state_trackers/dri/dri2.c
+++ b/src/gallium/state_trackers/dri/dri2.c
@@ -52,10 +52,6 @@
#include "drm-uapi/drm_fourcc.h"
-#ifndef DRM_FORMAT_MOD_INVALID
-#define DRM_FORMAT_MOD_INVALID ((1ULL<<56) - 1)
-#endif
-
struct dri2_buffer
{
__DRIbuffer base;