summaryrefslogtreecommitdiffstats
path: root/video/out/gl_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/gl_common.h')
-rw-r--r--video/out/gl_common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/video/out/gl_common.h b/video/out/gl_common.h
index a5e3125fba..ed63491c1a 100644
--- a/video/out/gl_common.h
+++ b/video/out/gl_common.h
@@ -30,6 +30,7 @@
#include "config.h"
#include "core/mp_msg.h"
+#include "core/bstr.h"
#include "vo.h"
#include "video/csputils.h"
@@ -154,6 +155,10 @@ bool mpgl_config_window(struct MPGLContext *ctx, int gl_caps, uint32_t d_width,
int mpgl_find_backend(const char *name);
+struct m_option;
+int mpgl_validate_backend_opt(const struct m_option *opt, struct bstr name,
+ struct bstr param);
+
void mpgl_set_backend_cocoa(MPGLContext *ctx);
void mpgl_set_backend_w32(MPGLContext *ctx);
void mpgl_set_backend_x11(MPGLContext *ctx);