diff --git a/src/OpenTK/Platform/Android/AndroidDisplayDeviceDriver.cs b/src/OpenTK/Platform/Android/AndroidDisplayDeviceDriver.cs index 3c28d262..7125ec7f 100644 --- a/src/OpenTK/Platform/Android/AndroidDisplayDeviceDriver.cs +++ b/src/OpenTK/Platform/Android/AndroidDisplayDeviceDriver.cs @@ -1,11 +1,9 @@ -#region --- License --- /* Licensed under the MIT/X11 license. * Copyright (c) 2011 Xamarin, Inc. * Copyright 2013 Xamarin Inc * This notice may not be removed from any source distribution. * See license.txt for licensing detailed licensing details. */ -#endregion using System; diff --git a/src/OpenTK/Platform/Android/AndroidFactory.cs b/src/OpenTK/Platform/Android/AndroidFactory.cs index 29de238a..7b405458 100644 --- a/src/OpenTK/Platform/Android/AndroidFactory.cs +++ b/src/OpenTK/Platform/Android/AndroidFactory.cs @@ -1,11 +1,9 @@ -#region --- License --- /* Licensed under the MIT/X11 license. * Copyright (c) 2011 Xamarin, Inc. * Copyright 2013 Xamarin Inc * This notice may not be removed from any source distribution. * See license.txt for licensing detailed licensing details. */ -#endregion using System; using OpenTK.Graphics; @@ -14,8 +12,6 @@ namespace OpenTK.Platform.Android { sealed class AndroidFactory : PlatformFactoryBase { - #region IPlatformFactory Members - public override IGraphicsContext CreateGLContext(GraphicsMode mode, IWindowInfo window, IGraphicsContext shareContext, bool directRendering, int major, int minor, GraphicsContextFlags flags) { AndroidWindow android_win = (AndroidWindow)window; @@ -60,7 +56,5 @@ namespace OpenTK.Platform.Android { throw new NotImplementedException(); } - - #endregion } } diff --git a/src/OpenTK/Platform/Android/AndroidGameView.cs b/src/OpenTK/Platform/Android/AndroidGameView.cs index c167c7ef..1786a59f 100644 --- a/src/OpenTK/Platform/Android/AndroidGameView.cs +++ b/src/OpenTK/Platform/Android/AndroidGameView.cs @@ -1,11 +1,9 @@ -#region --- License --- /* Licensed under the MIT/X11 license. * Copyright (c) 2011 Xamarin Inc. * Copyright 2013 Xamarin Inc * This notice may not be removed from any source distribution. * See license.txt for licensing detailed licensing details. */ -#endregion using System; using System.ComponentModel; @@ -250,7 +248,6 @@ namespace OpenTK.Platform.Android ResumeThread (); } -#region Private void LoadInternal (EventArgs e) { OnLoad (e); @@ -541,9 +538,6 @@ namespace OpenTK.Platform.Android global::Android.Util.Log.Debug ("AndroidGameView", String.Format("width:{0} height:{1} size:{2} surfaceRect:{3}", Width, Height, size, surfaceRect)); } #endif -#endregion - -#region Properties public bool AutoSetContextOnRenderFrame { @@ -670,6 +664,5 @@ namespace OpenTK.Platform.Android } } } -#endregion } } diff --git a/src/OpenTK/Platform/Android/AndroidGraphicsContext.cs b/src/OpenTK/Platform/Android/AndroidGraphicsContext.cs index c4edb69d..c5a809e4 100644 --- a/src/OpenTK/Platform/Android/AndroidGraphicsContext.cs +++ b/src/OpenTK/Platform/Android/AndroidGraphicsContext.cs @@ -1,11 +1,9 @@ -#region --- License --- /* Licensed under the MIT/X11 license. * Copyright (c) 2011 Xamarin, Inc. * Copyright 2013 Xamarin Inc * This notice may not be removed from any source distribution. * See license.txt for licensing detailed licensing details. */ -#endregion using System; using System.Runtime.InteropServices; @@ -132,8 +130,6 @@ namespace OpenTK.Platform.Android { eglWindowInfo.TerminateDisplay(); } -#region IDisposable Members - public void Dispose () { Dispose (true); @@ -157,7 +153,5 @@ namespace OpenTK.Platform.Android { { Dispose (false); } - -#endregion } } diff --git a/src/OpenTK/Platform/Android/Enums.cs b/src/OpenTK/Platform/Android/Enums.cs index 72975757..13e46fa3 100644 --- a/src/OpenTK/Platform/Android/Enums.cs +++ b/src/OpenTK/Platform/Android/Enums.cs @@ -1,11 +1,9 @@ -#region --- License --- /* Licensed under the MIT/X11 license. * Copyright (c) 2011 Xamarin, Inc. * Copyright 2013 Xamarin Inc * This notice may not be removed from any source distribution. * See license.txt for licensing detailed licensing details. */ -#endregion using System; diff --git a/src/OpenTK/Platform/Android/GLCalls.cs b/src/OpenTK/Platform/Android/GLCalls.cs index 469765d6..78b15432 100644 --- a/src/OpenTK/Platform/Android/GLCalls.cs +++ b/src/OpenTK/Platform/Android/GLCalls.cs @@ -1,11 +1,9 @@ -#region --- License --- /* Licensed under the MIT/X11 license. * Copyright (c) 2011 Xamarin, Inc. * Copyright 2013 Xamarin Inc * This notice may not be removed from any source distribution. * See license.txt for licensing detailed licensing details. */ -#endregion using System; using OpenTK; diff --git a/src/OpenTK/Platform/Android/GameViewBase.cs b/src/OpenTK/Platform/Android/GameViewBase.cs index 5d8c21f2..7fa788ef 100644 --- a/src/OpenTK/Platform/Android/GameViewBase.cs +++ b/src/OpenTK/Platform/Android/GameViewBase.cs @@ -1,11 +1,9 @@ -#region --- License --- /* Licensed under the MIT/X11 license. * Copyright (c) 2011 Xamarin Inc. * Copyright 2013 Xamarin Inc * This notice may not be removed from any source distribution. * See license.txt for licensing detailed licensing details. */ -#endregion using System; using System.ComponentModel; @@ -89,8 +87,6 @@ namespace OpenTK return point; } - #region IGameWindow implementation - /// /// Occurs before the run loop starts. /// @@ -454,9 +450,6 @@ namespace OpenTK /// invoked on it. /// public abstract void SwapBuffers (); - #endregion - - #region INativeWindow implementation /// This member is not supported. /// To be added. @@ -1193,7 +1186,5 @@ namespace OpenTK add { throw new NotSupportedException(); } remove { throw new NotSupportedException(); } } - - #endregion } }