From 4f2ac1753b38d6c389131f8d47ca80a2968ba567 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Sat, 24 Oct 2009 10:35:49 +0000 Subject: [PATCH] Do not qualify Stopwatch fully, to allow it to be overridden by Minimal.cs if necessary. --- Source/OpenTK/BindingsBase.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Source/OpenTK/BindingsBase.cs b/Source/OpenTK/BindingsBase.cs index 51635f2c..d1a521dc 100644 --- a/Source/OpenTK/BindingsBase.cs +++ b/Source/OpenTK/BindingsBase.cs @@ -129,9 +129,9 @@ namespace OpenTK if (delegates == null) throw new InvalidOperationException("The specified type does not have any loadable extensions."); - Debug.Write("Load extensions for " + this.GetType().FullName + "... "); + Debug.Write("Loading extensions for " + this.GetType().FullName + "... "); - System.Diagnostics.Stopwatch time = new System.Diagnostics.Stopwatch(); + Stopwatch time = new Stopwatch(); time.Reset(); time.Start(); @@ -147,7 +147,7 @@ namespace OpenTK rebuildExtensionList = true; time.Stop(); - Debug.Print("{0} extensions loaded in {1} ms.", supported, time.ElapsedMilliseconds); + Debug.Print("{0} extensions loaded in {1} ms.", supported, time.Elapsed.TotalMilliseconds); time.Reset(); }