[vlc-commits] commit: Fixed win32 opengl provider. (Laurent Aimar )

git at videolan.org git at videolan.org
Fri Nov 26 23:34:24 CET 2010


vlc/vlc-1.1 | branch: master | Laurent Aimar <fenrir at videolan.org> | Fri Nov 26 23:26:16 2010 +0100| [c857479296befeb42b9033417df4dc3c59771715] | committer: Jean-Baptiste Kempf 

Fixed win32 opengl provider.

CommonDisplay() must be called at least once to ensure that the window
content is shown.
(cherry picked from commit f5d7ac64c863415aafcdd389a58d0004d7b4439c)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=c857479296befeb42b9033417df4dc3c59771715
---

 modules/video_output/msw/glwin32.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules/video_output/msw/glwin32.c b/modules/video_output/msw/glwin32.c
index 4619b7f..a3aa25b 100644
--- a/modules/video_output/msw/glwin32.c
+++ b/modules/video_output/msw/glwin32.c
@@ -199,6 +199,8 @@ static int Control(vout_display_t *vd, int query, va_list args)
     case VOUT_DISPLAY_GET_OPENGL: {
         vout_opengl_t **gl = va_arg(args, vout_opengl_t **);
         *gl = &vd->sys->gl;
+
+        CommonDisplay(vd);
         return VLC_SUCCESS;
     }
     default:



More information about the vlc-commits mailing list