vlc | branch: master | Rémi Denis-Courmont <[email protected]> | Thu Jan 31 
19:52:16 2019 +0200| [8b12294d65d31ad8a61e8ec966d2b3e8e8280af8] | committer: 
Rémi Denis-Courmont

vgl: use initial size

This change causes a duplicated invocation of the resize at start-up.
That should be a no-op, but in any case, it will be deduplicated with
the following two changes. Together, they make no functional changes.

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

 modules/video_output/vgl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/video_output/vgl.c b/modules/video_output/vgl.c
index 293fed7de8..c2c9be3696 100644
--- a/modules/video_output/vgl.c
+++ b/modules/video_output/vgl.c
@@ -137,7 +137,7 @@ static int Open(vlc_gl_t *gl, unsigned width, unsigned 
height)
             return VLC_EGENERIC;
         }
 
-    (void) width; (void) height;
+    Resize(gl, width, height);
     return VLC_SUCCESS;
 }
 

_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to