summaryrefslogtreecommitdiffstats
path: root/video/out/gl_osd.h
diff options
context:
space:
mode:
Diffstat (limited to 'video/out/gl_osd.h')
-rw-r--r--video/out/gl_osd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/video/out/gl_osd.h b/video/out/gl_osd.h
index 91c7a6f552..29b4584a4a 100644
--- a/video/out/gl_osd.h
+++ b/video/out/gl_osd.h
@@ -20,6 +20,7 @@ struct mpgl_osd_part {
};
struct mpgl_osd {
+ struct mp_log *log;
GL *gl;
bool use_pbo;
bool scaled;
@@ -29,7 +30,7 @@ struct mpgl_osd {
void *scratch;
};
-struct mpgl_osd *mpgl_osd_init(GL *gl, bool legacy);
+struct mpgl_osd *mpgl_osd_init(GL *gl, struct mp_log *log, bool legacy);
void mpgl_osd_destroy(struct mpgl_osd *ctx);
void mpgl_osd_set_gl_state(struct mpgl_osd *ctx, struct mpgl_osd_part *p);