Do not qualify Stopwatch fully, to allow it to be overridden by Minimal.cs if necessary.
This commit is contained in:
parent
f25e37c22a
commit
721277d7f7
1 changed files with 3 additions and 3 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue