diff options
author | wm4 <wm4@nowhere> | 2015-03-13 11:55:31 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-03-13 11:55:31 +0100 |
commit | aedea2a79f64f63ad8f8bd551625726d68d68d43 (patch) | |
tree | 32dac24150f0cc3166a89d0415953a88b57210e8 /video/out/gl_common.c | |
parent | b2ad2e2fd1a709039a6f5003a7621929b8f8106a (diff) | |
download | mpv-aedea2a79f64f63ad8f8bd551625726d68d68d43.tar.bz2 mpv-aedea2a79f64f63ad8f8bd551625726d68d68d43.tar.xz |
vo_opengl: don't test for arrays
Even the lowest supported GL versions have arrays. This test was for
returning arrays from functions, which didn't work in lower GL versions,
but we don't need it anymore.
Diffstat (limited to 'video/out/gl_common.c')
-rw-r--r-- | video/out/gl_common.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/video/out/gl_common.c b/video/out/gl_common.c index a059c4dc48..58be88a46d 100644 --- a/video/out/gl_common.c +++ b/video/out/gl_common.c @@ -55,7 +55,6 @@ static const struct feature features[] = { {MPGL_CAP_VAO, "VAOs"}, {MPGL_CAP_FLOAT_TEX, "Float textures"}, {MPGL_CAP_TEX_RG, "RG textures"}, - {MPGL_CAP_1ST_CLASS_ARRAYS, "1st class shader arrays"}, {MPGL_CAP_1D_TEX, "1D textures"}, {MPGL_CAP_3D_TEX, "3D textures"}, {MPGL_CAP_DEBUG, "debugging extensions"}, @@ -168,8 +167,7 @@ static const struct gl_functions gl_functions[] = { // GL 2.1+ desktop only (and GLSL 120 shaders) { .ver_core = 210, - .provides = MPGL_CAP_ROW_LENGTH | MPGL_CAP_1D_TEX | MPGL_CAP_3D_TEX | - MPGL_CAP_1ST_CLASS_ARRAYS, + .provides = MPGL_CAP_ROW_LENGTH | MPGL_CAP_1D_TEX | MPGL_CAP_3D_TEX, .functions = (const struct gl_function[]) { DEF_FN(DrawBuffer), DEF_FN(GetTexLevelParameteriv), @@ -185,7 +183,7 @@ static const struct gl_functions gl_functions[] = { { .ver_core = 300, .ver_es_core = 300, - .provides = MPGL_CAP_3D_TEX | MPGL_CAP_1ST_CLASS_ARRAYS, + .provides = MPGL_CAP_3D_TEX, .functions = (const struct gl_function[]) { DEF_FN(GetStringi), // for ES 3.0 |