summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEmil Velikov <emil.velikov@collabora.com>2016-05-03 12:25:53 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2016-05-24 23:03:00 +0100
commita3eb8702fb4de03ca132a66e7e8df1a0b8f85e9a (patch)
treec4aefa0624e96ef705640f5fd97f23fce63765bd /include
parent8472045b16b3e4621553fe451a20a9ba9f0d44b6 (diff)
downloadexternal_mesa3d-a3eb8702fb4de03ca132a66e7e8df1a0b8f85e9a.zip
external_mesa3d-a3eb8702fb4de03ca132a66e7e8df1a0b8f85e9a.tar.gz
external_mesa3d-a3eb8702fb4de03ca132a66e7e8df1a0b8f85e9a.tar.bz2
mesa_glinterop: remove inclusion of EGL header
Analogous to previous commit, but for EGL. Signed-off-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Tested-by: Tom Stellard <thomas.stellard@amd.com>
Diffstat (limited to 'include')
-rw-r--r--include/GL/mesa_glinterop.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/GL/mesa_glinterop.h b/include/GL/mesa_glinterop.h
index b76bd7e..5c172c6 100644
--- a/include/GL/mesa_glinterop.h
+++ b/include/GL/mesa_glinterop.h
@@ -51,7 +51,7 @@
#define MESA_GLINTEROP_H
#include <stddef.h>
-#include <EGL/egl.h>
+#include <stdint.h>
#ifdef __cplusplus
extern "C" {
@@ -61,6 +61,10 @@ extern "C" {
typedef struct _XDisplay Display;
typedef struct __GLXcontextRec *GLXContext;
+/* Forward declarations to avoid inclusion of EGL/egl.h */
+typedef void *EGLDisplay;
+typedef void *EGLContext;
+
/** Returned error codes. */
enum {
MESA_GLINTEROP_SUCCESS = 0,