diff options
Diffstat (limited to 'video/out/opengl/x11egl.c')
-rw-r--r-- | video/out/opengl/x11egl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/video/out/opengl/x11egl.c b/video/out/opengl/x11egl.c index 64d9b69974..405350d7bb 100644 --- a/video/out/opengl/x11egl.c +++ b/video/out/opengl/x11egl.c @@ -29,6 +29,7 @@ #include "common/common.h" #include "video/out/x11_common.h" #include "common.h" +#include "egl_helpers.h" struct priv { EGLDisplay egl_display; @@ -156,6 +157,7 @@ static int mpegl_init(struct MPGLContext *ctx, int flags) void *(*gpa)(const GLubyte*) = (void *(*)(const GLubyte*))eglGetProcAddress; mpgl_load_functions(ctx->gl, gpa, egl_exts, vo->log); + mp_egl_get_depth(ctx->gl, config); ctx->native_display_type = "x11"; ctx->native_display = vo->x11->display; |