From e7a9bd693741272ba55d0a6b34d0c32cf1bb64e6 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 11 Aug 2017 20:11:21 +0200 Subject: vo_opengl: remove another unneeded GL include Getting mp_pass_perf seriously requires including vo.h??? --- video/out/opengl/osd.c | 5 ++++- video/out/opengl/shader_cache.h | 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'video') diff --git a/video/out/opengl/osd.c b/video/out/opengl/osd.c index 7030e8d8f4..374f737f41 100644 --- a/video/out/opengl/osd.c +++ b/video/out/opengl/osd.c @@ -21,7 +21,10 @@ #include -#include "formats.h" +#include "common/common.h" +#include "common/msg.h" +#include "video/csputils.h" +#include "video/mp_image.h" #include "osd.h" #define GLSL(x) gl_sc_add(sc, #x "\n"); diff --git a/video/out/opengl/shader_cache.h b/video/out/opengl/shader_cache.h index d5d512d779..82a078079b 100644 --- a/video/out/opengl/shader_cache.h +++ b/video/out/opengl/shader_cache.h @@ -4,6 +4,9 @@ #include "misc/bstr.h" #include "ra.h" +// For mp_pass_perf +#include "video/out/vo.h" + struct mp_log; struct mpv_global; struct gl_shader_cache; -- cgit v1.2.3