summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/egl_helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/opengl/egl_helpers.h')
-rw-r--r--video/out/opengl/egl_helpers.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/video/out/opengl/egl_helpers.h b/video/out/opengl/egl_helpers.h
index 3806ef1d35..04197493f3 100644
--- a/video/out/opengl/egl_helpers.h
+++ b/video/out/opengl/egl_helpers.h
@@ -1,7 +1,14 @@
#ifndef MP_GL_EGL_HELPERS_H
#define MP_GL_EGL_HELPERS_H
+#include <stdbool.h>
+
#include <EGL/egl.h>
#include <EGL/eglext.h>
+struct mp_log;
+
+bool mpegl_create_context(EGLDisplay display, struct mp_log *log, int vo_flags,
+ EGLContext *out_context, EGLConfig *out_config);
+
#endif