]> git.sesse.net Git - vlc/commitdiff
remove bogus code introduced in the previous commit
authorFelix Paul Kühne <fkuehne@videolan.org>
Sun, 27 Apr 2008 20:42:35 +0000 (22:42 +0200)
committerFelix Paul Kühne <fkuehne@videolan.org>
Sun, 27 Apr 2008 20:42:35 +0000 (22:42 +0200)
sorry about the disturbance

modules/video_output/opengllayer.m

index bb31d25e836133209ed0959f4b6de582d2345d3d..eb39a5b4dcafc97ae0e1ba51b9ea53da8dd7943a 100644 (file)
@@ -136,24 +136,6 @@ struct vout_sys_t
  *****************************************************************************/
 static int CreateVout( vlc_object_t *p_this )
 {
-    /* This module is Leopard only */
-#ifdef __APPLE__
-    long minorMacVersion;
-    if( Gestalt( gestaltSystemVersionMinor, &minorMacVersion ) == noErr )
-    {
-        if( minorMacVersion < 6 )
-        {
-            msg_Warn( p_vout, "current osx version is 10.%ld, non-suitable for OpenglLayer video output", minorMacVersion );
-            return VLC_ENOOBJ;
-        }
-    }
-    else
-    {
-        msg_Warn( p_vout, "couldn't get OS version" );
-        return VLC_EGENERIC;
-    }
-#endif
-
     vout_thread_t *p_vout = (vout_thread_t *)p_this;
     vout_sys_t *p_sys;
     char * psz;