summaryrefslogtreecommitdiffstats
path: root/video/out/vo_rpi.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-09-23 22:13:03 +0200
committerwm4 <wm4@nowhere>2015-09-23 22:13:03 +0200
commit17cd6798a69ca2fea1d7e7df692c71172183731f (patch)
tree9708d64e0d52379ad80b489c45c145194033e33a /video/out/vo_rpi.c
parentd8d4e188352160a2eac0e004d341ab5c3f997e6e (diff)
downloadmpv-17cd6798a69ca2fea1d7e7df692c71172183731f.tar.bz2
mpv-17cd6798a69ca2fea1d7e7df692c71172183731f.tar.xz
vo_opengl: move shader file caching to video.c
It's just about loading and cachign small files, not does not necessarily have anything to do with shaders. Move it to video.c where it's used.
Diffstat (limited to 'video/out/vo_rpi.c')
-rw-r--r--video/out/vo_rpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/out/vo_rpi.c b/video/out/vo_rpi.c
index 3c79797ff0..db65cead27 100644
--- a/video/out/vo_rpi.c
+++ b/video/out/vo_rpi.c
@@ -258,7 +258,7 @@ static int update_display_size(struct vo *vo)
MP_FATAL(vo, "EGL/GLES initialization for OSD renderer failed.\n");
return -1;
}
- p->sc = gl_sc_create(p->egl.gl, vo->log, vo->global),
+ p->sc = gl_sc_create(p->egl.gl, vo->log),
p->osd = mpgl_osd_init(p->egl.gl, vo->log, vo->osd);
p->osd_change_counter = -1; // force initial overlay rendering