From 281b1d89994e3e3a9950d32fc451dff990c2320d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kacper=20Michaj=C5=82ow?= Date: Fri, 24 Nov 2023 00:56:46 +0100 Subject: vo_gpu: don't pass ra_fbo by value Make it easier on compiler, no need to alloca and copy things around. --- video/out/gpu/osd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/out/gpu/osd.h') 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); -- cgit v1.2.3