[vlc-devel] commit: opengl: Fix a typo that lead to a crash. (Pierre d'Herbemont )
git version control
git at videolan.org
Tue Dec 8 03:20:54 CET 2009
vlc | branch: master | Pierre d'Herbemont <pdherbemont at free.fr> | Tue Dec 8 03:18:30 2009 +0100| [55fb4b535926bafc13c85e854dbce38ee738d0b6] | committer: Pierre d'Herbemont
opengl: Fix a typo that lead to a crash.
Note, the opengl output is still broken on Mac OS X, in the way that no picture are rendered.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=55fb4b535926bafc13c85e854dbce38ee738d0b6
---
modules/video_output/opengl.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/video_output/opengl.h b/modules/video_output/opengl.h
index 444a85d..df70379 100644
--- a/modules/video_output/opengl.h
+++ b/modules/video_output/opengl.h
@@ -270,7 +270,7 @@ static int PictureLock(picture_t *picture)
if (!picture->p_sys)
return VLC_SUCCESS;
- vout_display_opengl_t *vgl = !picture->p_sys->vgl;
+ vout_display_opengl_t *vgl = picture->p_sys->vgl;
if (!vout_opengl_Lock(vgl->gl)) {
glBindTexture(VLCGL_TARGET, picture->p_sys->texture);
More information about the vlc-devel
mailing list