diff options
author | Bin Jin <bjin@ctrl-d.org> | 2019-03-12 02:24:51 +0000 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2019-06-06 20:01:56 +0200 |
commit | ae1c489b319eab1fe200200c39f58246de75a6f3 (patch) | |
tree | 28a9e74588a36b3163fb81443f62e5fa3db6f786 /video/out/gpu/user_shaders.h | |
parent | 4d001bb30db6786a44658b0625dc31027767a393 (diff) | |
download | mpv-ae1c489b319eab1fe200200c39f58246de75a6f3.tar.bz2 mpv-ae1c489b319eab1fe200200c39f58246de75a6f3.tar.xz |
vo_gpu: allow user shader to fix texture offset
This commit essentially makes user shader able to fix offset (produced
by other prescaler, for example) like builtin `--scale`.
Diffstat (limited to 'video/out/gpu/user_shaders.h')
-rw-r--r-- | video/out/gpu/user_shaders.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/gpu/user_shaders.h b/video/out/gpu/user_shaders.h index a477e3ce3d..4bb7c2250f 100644 --- a/video/out/gpu/user_shaders.h +++ b/video/out/gpu/user_shaders.h @@ -69,6 +69,7 @@ struct gl_user_shader_hook { struct bstr save_tex; struct bstr pass_body; struct gl_transform offset; + bool align_offset; struct szexp width[MAX_SZEXP_SIZE]; struct szexp height[MAX_SZEXP_SIZE]; struct szexp cond[MAX_SZEXP_SIZE]; |