summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.xyz>2017-06-28 00:01:25 +0200
committerNiklas Haas <git@haasn.xyz>2017-06-28 00:01:25 +0200
commit0af561953a2a4b10b23367dccbc0c22730d69999 (patch)
treea300198336763a6e24905cb69118b058b065594c /audio
parentdd87ce6f4b201a9e6d258f6b101abb2f47bcb40f (diff)
downloadmpv-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')
0 files changed, 0 insertions, 0 deletions