diff options
author | Emil Velikov <[email protected]> | 2016-05-03 12:25:53 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2016-05-24 23:03:00 +0100 |
commit | a3eb8702fb4de03ca132a66e7e8df1a0b8f85e9a (patch) | |
tree | c4aefa0624e96ef705640f5fd97f23fce63765bd /include/GL | |
parent | 8472045b16b3e4621553fe451a20a9ba9f0d44b6 (diff) |
mesa_glinterop: remove inclusion of EGL header
Analogous to previous commit, but for EGL.
Signed-off-by: Emil Velikov <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Tested-by: Tom Stellard <[email protected]>
Diffstat (limited to 'include/GL')
-rw-r--r-- | include/GL/mesa_glinterop.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/GL/mesa_glinterop.h b/include/GL/mesa_glinterop.h index b76bd7ec2f5..5c172c6ca9e 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, |