diff options
author | Martin Herkt <lachs0r@srsfckn.biz> | 2016-06-25 02:25:44 +0200 |
---|---|---|
committer | Martin Herkt <lachs0r@srsfckn.biz> | 2016-06-25 02:25:44 +0200 |
commit | ad56f2c46ac6deec86870ec10f2a11a644df07d4 (patch) | |
tree | 89f2d90c5586560911e67c872b530c77f151168d /video/out/opengl/egl_helpers.c | |
parent | 0536841647ef7931bffb4386d8ffbb5b2b568e8a (diff) | |
parent | 393bb2a565dc1e27812e1dd20747814892f80da2 (diff) | |
download | mpv-ad56f2c46ac6deec86870ec10f2a11a644df07d4.tar.bz2 mpv-ad56f2c46ac6deec86870ec10f2a11a644df07d4.tar.xz |
Merge branch 'master' into release/current
Diffstat (limited to 'video/out/opengl/egl_helpers.c')
-rw-r--r-- | video/out/opengl/egl_helpers.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/video/out/opengl/egl_helpers.c b/video/out/opengl/egl_helpers.c index d86b5becde..7e236f1da9 100644 --- a/video/out/opengl/egl_helpers.c +++ b/video/out/opengl/egl_helpers.c @@ -18,13 +18,3 @@ #include "egl_helpers.h" #include "common.h" -void mp_egl_get_depth(struct GL *gl, EGLConfig fbc) -{ - EGLint tokens[] = {EGL_RED_SIZE, EGL_GREEN_SIZE, EGL_BLUE_SIZE}; - int *ptrs[] = {&gl->fb_r, &gl->fb_g, &gl->fb_b}; - for (int n = 0; n < MP_ARRAY_SIZE(tokens); n++) { - EGLint depth = 0; - if (eglGetConfigAttrib(eglGetCurrentDisplay(), fbc, tokens[n], &depth)) - *ptrs[n] = depth; - } -} |