Fixed a missing call to Debug.Unindent() during context construction.

This commit is contained in:
the_fiddler 2008-04-20 17:47:26 +00:00
parent 67cc7cb4b0
commit 742e70e3ef

View file

@ -57,6 +57,8 @@ namespace OpenTK.Graphics
else if (window == null) throw new ArgumentNullException("window", "Must point to a valid window.");
Debug.Print("Creating GraphicsContext.");
try
{
Debug.Indent();
Debug.Print("GraphicsMode: {0}", mode);
Debug.Print("IWindowInfo: {0}", window);
@ -90,6 +92,11 @@ namespace OpenTK.Graphics
}
//(implementation as IGraphicsContextInternal).LoadAll();
}
finally
{
Debug.Unindent();
}
}
#endregion