summaryrefslogtreecommitdiffstats
path: root/video/out/opengl/ra_gl.c
diff options
context:
space:
mode:
authorNiklas Haas <git@haasn.xyz>2017-08-05 19:38:43 +0200
committerNiklas Haas <git@haasn.xyz>2017-08-06 00:10:22 +0200
commit988d188d96d48ce7c78c09276982edb3c481b123 (patch)
treef4b29914b23dd09663e85449ccfd4877021c0f48 /video/out/opengl/ra_gl.c
parente5748e891f36a740faf39d7f9af799123d0e4388 (diff)
downloadmpv-988d188d96d48ce7c78c09276982edb3c481b123.tar.bz2
mpv-988d188d96d48ce7c78c09276982edb3c481b123.tar.xz
vo_opengl: drop ra_gl.h from shader_cache.c
Since the GL *gl is no longer needed for the timers, we can get rid of the sc->gl dependency. This requires moving a utility function (which is not GL-specific anyway) out of gl_utils.h and into utils.h
Diffstat (limited to 'video/out/opengl/ra_gl.c')
-rw-r--r--video/out/opengl/ra_gl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/video/out/opengl/ra_gl.c b/video/out/opengl/ra_gl.c
index 7b78f7d924..4c99fe0f59 100644
--- a/video/out/opengl/ra_gl.c
+++ b/video/out/opengl/ra_gl.c
@@ -1,6 +1,7 @@
#include <libavutil/intreadwrite.h>
#include "formats.h"
+#include "utils.h"
#include "ra_gl.h"
static struct ra_fns ra_fns_gl;