Commit a3eb8702 authored by Emil Velikov's avatar Emil Velikov Committed by Emil Velikov

mesa_glinterop: remove inclusion of EGL header

Analogous to previous commit, but for EGL.
Signed-off-by: default avatarEmil Velikov <emil.velikov@collabora.com>
Reviewed-by: default avatarMarek Olšák <marek.olsak@amd.com>
Tested-by: default avatarTom Stellard <thomas.stellard@amd.com>
parent 8472045b
......@@ -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,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment