diff options
author | Niklas Haas <git@haasn.xyz> | 2017-06-28 00:01:25 +0200 |
---|---|---|
committer | Niklas Haas <git@haasn.xyz> | 2017-06-28 00:01:25 +0200 |
commit | 0af561953a2a4b10b23367dccbc0c22730d69999 (patch) | |
tree | a300198336763a6e24905cb69118b058b065594c /audio/fmt-conversion.c | |
parent | dd87ce6f4b201a9e6d258f6b101abb2f47bcb40f (diff) | |
download | mpv-0af561953a2a4b10b23367dccbc0c22730d69999.tar.bz2 mpv-0af561953a2a4b10b23367dccbc0c22730d69999.tar.xz |
vo_opengl: unify user_shaders constants
Commit 3fb6380 was supposed to increase MAX_TEXTURE_HOOKS but instead
increased SHADER_MAX_HOOKS, since I forgot that they were separate (for
whatever reason).
To prevent this mistake from happening again, and to unify the location
in which user_shader-specific #defines are placed, get rid of the two
constants in opengl/video.c and move/reuse them from user_shaders.h
instead.
Also bump up MAX_SAVED_TEXTURES (now SHADER_MAX_SAVED) slightly as a
precaution against adding more passes to vo_opengl. I think we're
already flirting with the limit.
Diffstat (limited to 'audio/fmt-conversion.c')
0 files changed, 0 insertions, 0 deletions