diff options
author | Kacper Michajłow <kasper93@gmail.com> | 2023-11-24 00:56:46 +0100 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2023-11-28 10:46:16 +0100 |
commit | 281b1d89994e3e3a9950d32fc451dff990c2320d (patch) | |
tree | 4c978a78a24151561e638f0474d54f86eca178e6 /video/out/gpu/osd.h | |
parent | f7402ff466d1426bd99eaac546d53708cc14c8b3 (diff) | |
download | mpv-281b1d89994e3e3a9950d32fc451dff990c2320d.tar.bz2 mpv-281b1d89994e3e3a9950d32fc451dff990c2320d.tar.xz |
vo_gpu: don't pass ra_fbo by value
Make it easier on compiler, no need to alloca and copy things around.
Diffstat (limited to 'video/out/gpu/osd.h')
-rw-r--r-- | video/out/gpu/osd.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/gpu/osd.h b/video/out/gpu/osd.h index 00fbc4914f..1b05e254f8 100644 --- a/video/out/gpu/osd.h +++ b/video/out/gpu/osd.h @@ -18,7 +18,7 @@ void mpgl_osd_resize(struct mpgl_osd *ctx, struct mp_osd_res res, int stereo_mod bool mpgl_osd_draw_prepare(struct mpgl_osd *ctx, int index, struct gl_shader_cache *sc); void mpgl_osd_draw_finish(struct mpgl_osd *ctx, int index, - struct gl_shader_cache *sc, struct ra_fbo fbo); + struct gl_shader_cache *sc, const struct ra_fbo *fbo); bool mpgl_osd_check_change(struct mpgl_osd *ctx, struct mp_osd_res *res, double pts); |