[vlc-commits] vgl: Fix win32 build

Hugo Beauzée-Luyssen git at videolan.org
Tue Aug 21 15:10:15 CEST 2018


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Tue Aug 21 15:09:46 2018 +0200| [d6631bec5a3489280e2c50a9d48c8c901963a739] | committer: Hugo Beauzée-Luyssen

vgl: Fix win32 build

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

 modules/video_output/vgl.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/video_output/vgl.c b/modules/video_output/vgl.c
index 88a55ab9b8..2d7a17eda0 100644
--- a/modules/video_output/vgl.c
+++ b/modules/video_output/vgl.c
@@ -65,7 +65,7 @@ static void ReleaseCurrent(vlc_gl_t *gl)
     sys->makeCurrentCb(sys->opaque, false);
 }
 
-static void SwapBuffers(vlc_gl_t *gl)
+static void VglSwapBuffers(vlc_gl_t *gl)
 {
     vout_display_sys_t *sys = gl->sys;
     sys->swapCb(sys->opaque);
@@ -126,7 +126,7 @@ static int Open(vlc_object_t *object)
     gl->makeCurrent = MakeCurrent;
     gl->releaseCurrent = ReleaseCurrent;
     gl->resize = Resize;
-    gl->swap = SwapBuffers;
+    gl->swap = VglSwapBuffers;
     gl->getProcAddress = OurGetProcAddress;
 
     if( sys->setupCb )



More information about the vlc-commits mailing list