diff options
author | wm4 <wm4@nowhere> | 2017-04-06 08:35:47 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-04-06 08:35:47 +0200 |
commit | 755ce9dac5b42e1ccf8078d245d74643054a1197 (patch) | |
tree | 3a369e3d5548829bdf8fd9dfaf85d83a07c9724c /video | |
parent | 451e1f0db32250219e07c189b28b48a0866feb26 (diff) | |
download | mpv-755ce9dac5b42e1ccf8078d245d74643054a1197.tar.bz2 mpv-755ce9dac5b42e1ccf8078d245d74643054a1197.tar.xz |
build: replace android-gl check with a standard GLES3 check
There's no reason to make it Android specific, as it uses standard
include paths.
Diffstat (limited to 'video')
-rw-r--r-- | video/out/opengl/common.h | 2 | ||||
-rw-r--r-- | video/out/opengl/header_fixes.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/video/out/opengl/common.h b/video/out/opengl/common.h index e9bda4918b..b3108d0676 100644 --- a/video/out/opengl/common.h +++ b/video/out/opengl/common.h @@ -39,7 +39,7 @@ #elif HAVE_IOS_GL #include <OpenGLES/ES2/glext.h> #include <OpenGLES/ES3/glext.h> -#elif HAVE_ANDROID_GL +#elif HAVE_STANDARD_GLES3 #include <GLES3/gl3.h> #else #include <GL/gl.h> diff --git a/video/out/opengl/header_fixes.h b/video/out/opengl/header_fixes.h index d26d77b64d..ec00087b89 100644 --- a/video/out/opengl/header_fixes.h +++ b/video/out/opengl/header_fixes.h @@ -67,7 +67,7 @@ #define GL_BACK_LEFT 0x0402 #endif -#if HAVE_ANDROID_GL +#if HAVE_STANDARD_GLES3 #define GL_UNSIGNED_BYTE_3_3_2 0x8032 #define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362 #define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366 |