From 3127258045e3273dc8c09ca92e06acd36e258b49 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Mon, 24 Mar 2008 13:25:57 +0000 Subject: [PATCH] Added license. --- Source/OpenTK/ContextHandle.cs | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/Source/OpenTK/ContextHandle.cs b/Source/OpenTK/ContextHandle.cs index 6c98ae30..02d621e6 100644 --- a/Source/OpenTK/ContextHandle.cs +++ b/Source/OpenTK/ContextHandle.cs @@ -1,4 +1,12 @@ -using System; +#region --- License --- +/* Licensed under the MIT/X11 license. + * Copyright (c) 2006-2008 the OpenTK Team. + * This notice may not be removed from any source distribution. + * See license.txt for licensing detailed licensing details. + */ +#endregion + +using System; using System.Collections.Generic; using System.Text; @@ -38,6 +46,9 @@ namespace OpenTK return Handle.GetHashCode(); } + /// A read-only field that represents a handle that has been initialized to zero. + public static readonly ContextHandle Zero = new ContextHandle(IntPtr.Zero); + /* public override bool IsInvalid {