[vlc-commits] commit: Fixed win32 opengl provider. (Laurent Aimar )
    git at videolan.org 
    git at videolan.org
       
    Fri Nov 26 23:27:36 CET 2010
    
    
  
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Fri Nov 26 23:26:16 2010 +0100| [f5d7ac64c863415aafcdd389a58d0004d7b4439c] | committer: Laurent Aimar 
Fixed win32 opengl provider.
CommonDisplay() must be called at least once to ensure that the window
content is shown.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f5d7ac64c863415aafcdd389a58d0004d7b4439c
---
 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 c6173b8..f807bfe 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