diff options
Diffstat (limited to 'include/epoxy/egl.h')
-rw-r--r-- | include/epoxy/egl.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/include/epoxy/egl.h b/include/epoxy/egl.h index ae54929..cd0d344 100644 --- a/include/epoxy/egl.h +++ b/include/epoxy/egl.h @@ -30,18 +30,18 @@ #ifndef EPOXY_EGL_H #define EPOXY_EGL_H -#include <epoxy/common.h> -#include <stdbool.h> - -#ifdef __cplusplus -extern "C" { +#if defined(__egl_h_) || defined(__eglext_h_) +#error "epoxy/egl.h" must be included before (or in place of) "EGL/egl.h" #endif -#if defined(__egl_h_) || defined(__eglext_h_) -#error epoxy/egl.h must be included before (or in place of) GL/egl.h -#else #define __egl_h_ #define __eglext_h_ + +#include "epoxy/gl.h" +#include "epoxy/eglplatform.h" + +#ifdef __cplusplus +extern "C" { #endif #include "epoxy/egl_generated.h" |