summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNiklas Haas <git@nand.wakku.to>2015-03-23 05:04:42 +0100
committerwm4 <wm4@nowhere>2015-03-26 00:04:08 +0100
commitdfbe1832eee7b894a1a33de78c62209440a304e6 (patch)
tree27deab7c4de4614eb0af3a1a69724796ec3da455
parent4bcd6ec41df41903f54260822ea14b9dc737fcec (diff)
downloadmpv-dfbe1832eee7b894a1a33de78c62209440a304e6.tar.bz2
mpv-dfbe1832eee7b894a1a33de78c62209440a304e6.tar.xz
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)
-rw-r--r--video/out/gl_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/gl_utils.c b/video/out/gl_utils.c
index 3056ce10cc..f8b46d95b0 100644
--- a/video/out/gl_utils.c
+++ b/video/out/gl_utils.c
@@ -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 {