[vlc-commits] vsxu: 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:33 2016 +0200| [4246e218c1ddb520db3f2d47edc69de698bc7e13] | committer: Rémi Denis-Courmont
vsxu: remove no-op
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4246e218c1ddb520db3f2d47edc69de698bc7e13
---
modules/visualization/vsxu.cpp | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/modules/visualization/vsxu.cpp b/modules/visualization/vsxu.cpp
index a58e162..7aa78e9 100644
--- a/modules/visualization/vsxu.cpp
+++ b/modules/visualization/vsxu.cpp
@@ -305,11 +305,7 @@ static void *Thread( void *p_data )
if (intro) intro->draw();
// swap buffers etc.
- if( !vlc_gl_Lock(gl) )
- {
- vlc_gl_Swap( gl );
- vlc_gl_Unlock( gl );
- }
+ vlc_gl_Swap( gl );
}
// stop vsxu nicely (unloads textures and frees memory)
More information about the vlc-commits
mailing list