From 17cd6798a69ca2fea1d7e7df692c71172183731f Mon Sep 17 00:00:00 2001 From: wm4 Date: Wed, 23 Sep 2015 22:13:03 +0200 Subject: 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. --- video/out/vo_rpi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/out/vo_rpi.c') 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 -- cgit v1.2.3