summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_gl.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c
index c772d85c08..6d6cb5fd76 100644
--- a/libvo/vo_gl.c
+++ b/libvo/vo_gl.c
@@ -126,6 +126,9 @@ static void texSize(int w, int h, int *texw, int *texh) {
}
}
+/**
+ * \brief remove all OSD textures and display-lists, thus clearing it.
+ */
static void clearOSD() {
int i;
glDeleteTextures(osdtexCnt, osdtex);