summaryrefslogtreecommitdiffstats
path: root/video/out/gl_osd.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-09-12 01:33:33 +0200
committerwm4 <wm4@nowhere>2013-09-12 01:34:42 +0200
commit1061f43a2ffb389004fb97b969c05140061557ee (patch)
treed94f73e0b55033f03a9c995ee7e22c7e7e5d5319 /video/out/gl_osd.h
parent3a9c5ef687d982f3a3e97bb93f6fa84876a1876c (diff)
downloadmpv-1061f43a2ffb389004fb97b969c05140061557ee.tar.bz2
mpv-1061f43a2ffb389004fb97b969c05140061557ee.tar.xz
gl_osd: mp_msg conversion
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);