summaryrefslogtreecommitdiffstats
path: root/libvo/gl_common.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-10-03 18:25:41 +0200
committerwm4 <wm4@nowhere>2012-10-16 07:26:31 +0200
commitcadff3eec75bdd81fb0d18cd0ac029faa3c318d2 (patch)
treec48914d7a76984db394117c364b8660088181c41 /libvo/gl_common.c
parent8f8f6e6d9d27eef37640b363214a775647a0f2f4 (diff)
downloadmpv-cadff3eec75bdd81fb0d18cd0ac029faa3c318d2.tar.bz2
mpv-cadff3eec75bdd81fb0d18cd0ac029faa3c318d2.tar.xz
vo_gl3: move OSD code to gl_osd.c
Other OpenGL-using VOs can use this. gl_osd.c includes some code for vo_gl.c. The next commit actually makes use of it.
Diffstat (limited to 'libvo/gl_common.c')
-rw-r--r--libvo/gl_common.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libvo/gl_common.c b/libvo/gl_common.c
index 8ae94f56f3..4bffc1521f 100644
--- a/libvo/gl_common.c
+++ b/libvo/gl_common.c
@@ -38,6 +38,7 @@
#include <string.h>
#include <ctype.h>
#include <stdbool.h>
+#include <assert.h>
#include <math.h>
#include "talloc.h"
#include "gl_common.h"
@@ -45,6 +46,8 @@
#include "aspect.h"
#include "pnm_loader.h"
#include "options.h"
+#include "sub/sub.h"
+#include "bitmap_packer.h"
//! \defgroup glgeneral OpenGL general helper functions