[vlc-commits] projectm: remove no-op
Rémi Denis-Courmont
git at videolan.org
Mon Dec 19 00:33:26 CET 2016
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Dec 19 01:14:20 2016 +0200| [bd7808b0bfc5babedbe2e8093fe63aacb6b68026] | committer: Rémi Denis-Courmont
projectm: remove no-op
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bd7808b0bfc5babedbe2e8093fe63aacb6b68026
---
modules/visualization/projectm.cpp | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/modules/visualization/projectm.cpp b/modules/visualization/projectm.cpp
index 7908d7a..e1fc564 100644
--- a/modules/visualization/projectm.cpp
+++ b/modules/visualization/projectm.cpp
@@ -368,11 +368,7 @@ static void *Thread( void *p_data )
/* */
mwait( i_deadline );
- if( !vlc_gl_Lock(gl) )
- {
- vlc_gl_Swap( gl );
- vlc_gl_Unlock( gl );
- }
+ vlc_gl_Swap( gl );
}
delete p_projectm;
More information about the vlc-commits
mailing list