[vlc-commits] vout/macosx: Remove deprecated NSOpenGLPFAWindow

Marvin Scholz git at videolan.org
Mon Dec 11 00:06:54 CET 2017


vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Thu Dec  7 16:41:23 2017 +0100| [64d9939eaa3ced068449926aa73cbd346d238b8c] | committer: Marvin Scholz

vout/macosx: Remove deprecated NSOpenGLPFAWindow

Setting NSOpenGLPFAWindow is not necessary if neither
NSOpenGLPFAFullScreen (deprecated) nor NSOpenGLPFAOffScreen (deprecated)
are set.

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

 modules/video_output/macosx.m | 1 -
 1 file changed, 1 deletion(-)

diff --git a/modules/video_output/macosx.m b/modules/video_output/macosx.m
index 4fae00d4de..a2ec1ec4a7 100644
--- a/modules/video_output/macosx.m
+++ b/modules/video_output/macosx.m
@@ -498,7 +498,6 @@ static void OpenglSwap (vlc_gl_t *gl)
         NSOpenGLPFAColorSize, 24,
         NSOpenGLPFAAlphaSize, 8,
         NSOpenGLPFADepthSize, 24,
-        NSOpenGLPFAWindow,
         NSOpenGLPFAAllowOfflineRenderers,
         0
     };



More information about the vlc-commits mailing list