From c0b1f170e820341f9b0578c4fe33ee53c069da30 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Mon, 21 Apr 2008 21:31:21 +0000 Subject: [PATCH] Moved PlatformException to the OpenTK namespace. Removed an invalid Debug.Unindent() call. --- Source/OpenTK/Platform/PlatformException.cs | 13 ++++++++----- Source/OpenTK/Platform/X11/X11GLContext.cs | 2 +- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/Source/OpenTK/Platform/PlatformException.cs b/Source/OpenTK/Platform/PlatformException.cs index 75c6fef0..bced79c2 100644 --- a/Source/OpenTK/Platform/PlatformException.cs +++ b/Source/OpenTK/Platform/PlatformException.cs @@ -8,9 +8,12 @@ using System; -/// Defines a plaftorm specific exception. -public class PlatformException : Exception +namespace OpenTK { - /// Constructs a new PlatformException. - public PlatformException(string s) : base(s) { } -} + /// Defines a plaftorm specific exception. + public class PlatformException : Exception + { + /// Constructs a new PlatformException. + public PlatformException(string s) : base(s) { } + } +} \ No newline at end of file diff --git a/Source/OpenTK/Platform/X11/X11GLContext.cs b/Source/OpenTK/Platform/X11/X11GLContext.cs index b0f90044..f2cc83a7 100644 --- a/Source/OpenTK/Platform/X11/X11GLContext.cs +++ b/Source/OpenTK/Platform/X11/X11GLContext.cs @@ -122,7 +122,7 @@ namespace OpenTK.Platform.X11 } finally { - Debug.Unindent(); + //Debug.Unindent(); } }