Author: dhudson
Date: 2006-07-14 12:09:23 -0400 (Fri, 14 Jul 2006)
New Revision: 62606
Modified:
branches/tao_2_0/src/Tao.Sdl/Sdl.cs
Log:
Comment out OSX code. Assembly.LoadwithPartialName is deprecated.
Modified: branches/tao_2_0/src/Tao.Sdl/Sdl.cs
===================================================================
--- branches/tao_2_0/src/Tao.Sdl/Sdl.cs 2006-07-14 16:05:23 UTC (rev 62605)
+++ branches/tao_2_0/src/Tao.Sdl/Sdl.cs 2006-07-14 16:09:23 UTC (rev 62606)
@@ -5428,13 +5428,13 @@
/// <seealso cref="SDL_Quit" />
public static int SDL_Init(int flags)
{
- //Mac OSX code
- Assembly af = Assembly.Load("cocoa-sharp");
- if (af != null)
- {
- obj =
af.GetType("Cocoa.Application").InvokeMember("Init", BindingFlags.Static |
BindingFlags.InvokeMethod, null, obj, null);
- NSApplicationLoad();
- }
+ ////Mac OSX code
+ //Assembly af = Assembly.Load("cocoa-sharp");
+ //if (af != null)
+ //{
+ // obj = af.GetType("Cocoa.Application").InvokeMember("Init",
BindingFlags.Static | BindingFlags.InvokeMethod, null, obj, null);
+ // NSApplicationLoad();
+ //}
return __SDL_Init(flags);
}
#endregion int SDL_Init(int flags)
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches