1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-09 00:19:32 +00:00

vo_opengl: increase shader cache size

This is a minor precaution, because in some cases the number of shader
programs can already hit 10. (chroma merging + separated cscale/scale +
+ sub blending (interpolated) + sub blending (non-interpolated)
+ output (interpolated) + output (non-interpolated) + OSD)
This commit is contained in:
Niklas Haas 2015-03-23 05:04:42 +01:00 committed by wm4
parent 4bcd6ec41d
commit dfbe1832ee

View File

@ -462,7 +462,7 @@ void gl_set_debug_logger(GL *gl, struct mp_log *log)
}
}
#define SC_ENTRIES 10
#define SC_ENTRIES 16
#define SC_UNIFORM_ENTRIES 20
enum uniform_type {