Commit 55fb4b53 authored by Pierre d'Herbemont's avatar 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.
parent f9f29ccb
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment