diff options
Diffstat (limited to 'video/out/opengl/utils.c')
-rw-r--r-- | video/out/opengl/utils.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/video/out/opengl/utils.c b/video/out/opengl/utils.c index c586f5d9a2..d29d7b0bdb 100644 --- a/video/out/opengl/utils.c +++ b/video/out/opengl/utils.c @@ -565,6 +565,11 @@ void gl_sc_haddf(struct gl_shader_cache *sc, const char *textf, ...) va_end(ap); } +void gl_sc_hadd_bstr(struct gl_shader_cache *sc, struct bstr text) +{ + bstr_xappend(sc, &sc->header_text, text); +} + static struct sc_uniform *find_uniform(struct gl_shader_cache *sc, const char *name) { |