summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libvo/vo_gl2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libvo/vo_gl2.c b/libvo/vo_gl2.c
index 359e26046b..3630ad26e3 100644
--- a/libvo/vo_gl2.c
+++ b/libvo/vo_gl2.c
@@ -1136,7 +1136,9 @@ static void
uninit(void)
{
if ( !vo_config_count ) return;
+#ifndef GL_WIN32
releaseGlContext(&gl_vinfo, &gl_context);
+#endif
if (texgrid) {
free(texgrid);
texgrid = NULL;