diff options
Diffstat (limited to 'include/GL/mesa_glinterop.h')
-rw-r--r-- | include/GL/mesa_glinterop.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/include/GL/mesa_glinterop.h b/include/GL/mesa_glinterop.h index 383d7f91aa8..c6a967ea8ec 100644 --- a/include/GL/mesa_glinterop.h +++ b/include/GL/mesa_glinterop.h @@ -52,15 +52,12 @@ #include <stddef.h> #include <stdint.h> +#include <GL/glx.h> #ifdef __cplusplus extern "C" { #endif -/* Forward declarations to avoid inclusion of GL/glx.h */ -typedef struct _XDisplay Display; -typedef struct __GLXcontextRec *GLXContext; - /* Forward declarations to avoid inclusion of EGL/egl.h */ typedef void *EGLDisplay; typedef void *EGLContext; |