summaryrefslogtreecommitdiffstats
path: root/video/out
diff options
context:
space:
mode:
Diffstat (limited to 'video/out')
-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;