summaryrefslogtreecommitdiffstats
path: root/video
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2017-08-11 20:11:21 +0200
committerwm4 <wm4@nowhere>2017-08-11 21:29:35 +0200
commite7a9bd693741272ba55d0a6b34d0c32cf1bb64e6 (patch)
tree5d5d015fffce9d000ff689a7b4c1c18e9891dc2d /video
parent697c4389a9e650935cee934009bdbd42dc4e5cfa (diff)
downloadmpv-e7a9bd693741272ba55d0a6b34d0c32cf1bb64e6.tar.bz2
mpv-e7a9bd693741272ba55d0a6b34d0c32cf1bb64e6.tar.xz
vo_opengl: remove another unneeded GL include
Getting mp_pass_perf seriously requires including vo.h???
Diffstat (limited to 'video')
-rw-r--r--video/out/opengl/osd.c5
-rw-r--r--video/out/opengl/shader_cache.h3
2 files changed, 7 insertions, 1 deletions
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 <libavutil/common.h>
-#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;