projectM: dead code
authorRémi Denis-Courmont <remi@remlab.net>
Thu, 24 Apr 2014 18:15:48 +0000 (21:15 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 24 Apr 2014 18:15:48 +0000 (21:15 +0300)
modules/visualization/projectm.cpp

index d3fe4cd..e80fbf4 100644 (file)
@@ -467,8 +467,6 @@ static void *Thread( void *p_data )
     assert(0);
 
 error:
-    if (gl)
-        vlc_gl_ReleaseCurrent( gl );
     p_sys->b_error = true;
     vlc_sem_post( &p_sys->ready );
     return NULL;