summaryrefslogtreecommitdiffstats
path: root/video/out/gl_video.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-03-13 11:55:31 +0100
committerwm4 <wm4@nowhere>2015-03-13 11:55:31 +0100
commitaedea2a79f64f63ad8f8bd551625726d68d68d43 (patch)
tree32dac24150f0cc3166a89d0415953a88b57210e8 /video/out/gl_video.c
parentb2ad2e2fd1a709039a6f5003a7621929b8f8106a (diff)
downloadmpv-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_video.c')
-rw-r--r--video/out/gl_video.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/video/out/gl_video.c b/video/out/gl_video.c
index 1f62de5687..5be1b896e3 100644
--- a/video/out/gl_video.c
+++ b/video/out/gl_video.c
@@ -1924,7 +1924,6 @@ static void check_gl_features(struct gl_video *p)
GL *gl = p->gl;
bool have_float_tex = gl->mpgl_caps & MPGL_CAP_FLOAT_TEX;
bool have_fbo = gl->mpgl_caps & MPGL_CAP_FB;
- bool have_arrays = gl->mpgl_caps & MPGL_CAP_1ST_CLASS_ARRAYS;
bool have_1d_tex = gl->mpgl_caps & MPGL_CAP_1D_TEX;
bool have_3d_tex = gl->mpgl_caps & MPGL_CAP_3D_TEX;
bool have_mix = gl->glsl_version >= 130;
@@ -1944,8 +1943,6 @@ static void check_gl_features(struct gl_video *p)
reason = "scaler (FBO)";
if (!have_float_tex)
reason = "scaler (float tex.)";
- if (!have_arrays)
- reason = "scaler (no GLSL support)";
if (!have_1d_tex && kernel->polar)
reason = "scaler (1D tex.)";
if (reason) {