summaryrefslogtreecommitdiffstats
path: root/src/egl/drivers/dri2
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2016-11-02 18:56:39 +0100
committerMarek Olšák <[email protected]>2016-11-04 11:30:47 +0100
commitbf51b45313c7cc5ca792401f0cc29574aa9122cf (patch)
tree28298e6002a84e1e92e8e05a5470dd101101100f /src/egl/drivers/dri2
parent84a74be9e4ce5149c7952f16a9e94e2094f4b353 (diff)
egl: use util/macros.h
I need the definition of PUBLIC. Cc: 12.0 13.0 <[email protected]> Acked-by: Alex Deucher <[email protected]> Reviewed-by: Nicolai Hähnle <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/egl/drivers/dri2')
-rw-r--r--src/egl/drivers/dri2/egl_dri2.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/egl/drivers/dri2/egl_dri2.h b/src/egl/drivers/dri2/egl_dri2.h
index 85d4b85eae2..0020a5b984c 100644
--- a/src/egl/drivers/dri2/egl_dri2.h
+++ b/src/egl/drivers/dri2/egl_dri2.h
@@ -80,8 +80,6 @@
#include "eglimage.h"
#include "eglsync.h"
-#define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
-
struct wl_buffer;
struct dri2_egl_driver