diff options
Diffstat (limited to 'Build/source/libs/cairo/cairo-src/src/cairo-gl-gradient-private.h')
-rw-r--r-- | Build/source/libs/cairo/cairo-src/src/cairo-gl-gradient-private.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Build/source/libs/cairo/cairo-src/src/cairo-gl-gradient-private.h b/Build/source/libs/cairo/cairo-src/src/cairo-gl-gradient-private.h index 77f9bbdc5f5..0d9f41f54b4 100644 --- a/Build/source/libs/cairo/cairo-src/src/cairo-gl-gradient-private.h +++ b/Build/source/libs/cairo/cairo-src/src/cairo-gl-gradient-private.h @@ -51,12 +51,15 @@ #include "cairo-gl.h" -#if CAIRO_HAS_GL_SURFACE -#include <GL/gl.h> -#include <GL/glext.h> +#if CAIRO_HAS_GLESV3_SURFACE +#include <GLES3/gl3.h> +#include <GLES3/gl3ext.h> #elif CAIRO_HAS_GLESV2_SURFACE #include <GLES2/gl2.h> #include <GLES2/gl2ext.h> +#elif CAIRO_HAS_GL_SURFACE +#include <GL/gl.h> +#include <GL/glext.h> #endif #define CAIRO_GL_GRADIENT_CACHE_SIZE 4096 |