summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-11-05 13:48:41 +0000
committerfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2004-11-05 13:48:41 +0000
commit819ba1a04f96b6842df655314bf5c265a11bfe9a (patch)
tree8eae3f4f62b4c08dc3f31cf38dfd3e0b656df40e /libvo
parent5ee13896a15f918b0bea16a42384d4339cc6c41c (diff)
downloadmpv-819ba1a04f96b6842df655314bf5c265a11bfe9a.tar.bz2
mpv-819ba1a04f96b6842df655314bf5c265a11bfe9a.tar.xz
10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13878 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-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;