[vlc-devel] [PATCH] vout/macosx: Remove deprecated NSOpenGLPFAWindow

Marvin Scholz epirat07 at gmail.com
Thu Dec 7 16:41:23 CET 2017


Setting NSOpenGLPFAWindow is not necessary if neither
NSOpenGLPFAFullScreen (deprecated) nor NSOpenGLPFAOffScreen (deprecated)
are set.
---
 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 @@ - (id)init
         NSOpenGLPFAColorSize, 24,
         NSOpenGLPFAAlphaSize, 8,
         NSOpenGLPFADepthSize, 24,
-        NSOpenGLPFAWindow,
         NSOpenGLPFAAllowOfflineRenderers,
         0
     };
-- 
2.14.3 (Apple Git-98)



More information about the vlc-devel mailing list