summaryrefslogtreecommitdiffstats
path: root/video/out/gpu/utils.h
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2023-11-24 00:56:46 +0100
committersfan5 <sfan5@live.de>2023-11-28 10:46:16 +0100
commit281b1d89994e3e3a9950d32fc451dff990c2320d (patch)
tree4c978a78a24151561e638f0474d54f86eca178e6 /video/out/gpu/utils.h
parentf7402ff466d1426bd99eaac546d53708cc14c8b3 (diff)
downloadmpv-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/utils.h')
-rw-r--r--video/out/gpu/utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/gpu/utils.h b/video/out/gpu/utils.h
index 215873eec8..dd52c383b1 100644
--- a/video/out/gpu/utils.h
+++ b/video/out/gpu/utils.h
@@ -63,7 +63,7 @@ static inline bool gl_transform_eq(struct gl_transform a, struct gl_transform b)
void gl_transform_trans(struct gl_transform t, struct gl_transform *x);
-void gl_transform_ortho_fbo(struct gl_transform *t, struct ra_fbo fbo);
+void gl_transform_ortho_fbo(struct gl_transform *t, const struct ra_fbo *fbo);
float gl_video_scale_ambient_lux(float lmin, float lmax,
float rmin, float rmax, float lux);