[vlc-devel] [PATCH 09/18] opengl: handle fullscreen request

Victorien Le Couviour--Tuffet victorien.lecouviour.tuffet at gmail.com
Fri Aug 4 19:41:03 CEST 2017


---
 modules/video_output/opengl/display.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/modules/video_output/opengl/display.c b/modules/video_output/opengl/display.c
index 63376f1cd8..a51c75734d 100644
--- a/modules/video_output/opengl/display.c
+++ b/modules/video_output/opengl/display.c
@@ -212,6 +212,9 @@ static int Control (vout_display_t *vd, int query, va_list ap)
         vlc_assert_unreachable();
 #endif
 
+      case VOUT_DISPLAY_CHANGE_FULLSCREEN:
+          return vout_window_SetFullScreen(sys->gl->surface, va_arg(ap, int));
+
       case VOUT_DISPLAY_CHANGE_DISPLAY_SIZE:
       case VOUT_DISPLAY_CHANGE_DISPLAY_FILLED:
       case VOUT_DISPLAY_CHANGE_ZOOM:
-- 
2.13.1



More information about the vlc-devel mailing list