summaryrefslogtreecommitdiffstats
path: root/libvo/vo_gl.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_gl.c')
-rw-r--r--libvo/vo_gl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c
index 639b2b5555..ba7c475e9e 100644
--- a/libvo/vo_gl.c
+++ b/libvo/vo_gl.c
@@ -150,6 +150,7 @@ static int initGl(uint32_t d_width, uint32_t d_height) {
glClear( GL_COLOR_BUFFER_BIT );
if (SwapInterval && swap_interval >= 0)
SwapInterval(swap_interval);
+ osdtexCnt = 0;
gl_buffer = 0;
gl_buffersize = 0;
err_shown = 0;