diff options
Diffstat (limited to 'video/out/placebo/ra_pl.h')
-rw-r--r-- | video/out/placebo/ra_pl.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/video/out/placebo/ra_pl.h b/video/out/placebo/ra_pl.h index 4b3414bb28..1290c9c24f 100644 --- a/video/out/placebo/ra_pl.h +++ b/video/out/placebo/ra_pl.h @@ -3,15 +3,14 @@ #include "video/out/gpu/ra.h" #include <libplacebo/gpu.h> -struct ra *ra_create_pl(const struct pl_gpu *gpu, struct mp_log *log); +struct ra *ra_create_pl(pl_gpu gpu, struct mp_log *log); -const struct pl_gpu *ra_pl_get(const struct ra *ra); +pl_gpu ra_pl_get(const struct ra *ra); -static inline const struct pl_fmt *ra_pl_fmt_get(const struct ra_format *format) +static inline pl_fmt ra_pl_fmt_get(const struct ra_format *format) { return format->priv; } // Wrap a pl_tex into a ra_tex struct, returns if successful -bool mppl_wrap_tex(struct ra *ra, const struct pl_tex *pltex, - struct ra_tex *out_tex); +bool mppl_wrap_tex(struct ra *ra, pl_tex pltex, struct ra_tex *out_tex); |