summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-12-30 21:41:30 +0100
committerwm4 <wm4@nowhere>2016-12-30 21:45:55 +0100
commit5ed4119057dc42842699a86b6610f4a3c50ab215 (patch)
treeef6825850d2313047237ada0f9695b30791a667c /video
parentb14fc38590097117bd2eb2b71cf1a2f8b736f778 (diff)
downloadmpv-5ed4119057dc42842699a86b6610f4a3c50ab215.tar.bz2
mpv-5ed4119057dc42842699a86b6610f4a3c50ab215.tar.xz
vo_opengl: egl: fix depth size parameter
This was accidentally flipped from 0 to 1 in a previous commit. Actually simply remove it, because 0 is the default value for this parameter anyway.
Diffstat (limited to 'video')
-rw-r--r--video/out/opengl/egl_helpers.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/video/out/opengl/egl_helpers.c b/video/out/opengl/egl_helpers.c
index 0169ab264e..3d937a57aa 100644
--- a/video/out/opengl/egl_helpers.c
+++ b/video/out/opengl/egl_helpers.c
@@ -66,7 +66,6 @@ static bool create_context(EGLDisplay display, struct mp_log *log, bool probing,
EGL_GREEN_SIZE, 1,
EGL_BLUE_SIZE, 1,
EGL_ALPHA_SIZE, (opts->vo_flags & VOFLAG_ALPHA ) ? 1 : 0,
- EGL_DEPTH_SIZE, 1,
EGL_RENDERABLE_TYPE, rend,
EGL_NONE
};