mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-26 10:41:09 +00:00
Fixed a missing call to Debug.Unindent() during context construction.
This commit is contained in:
parent
dcce9fcf73
commit
fef112ab46
|
@ -57,6 +57,8 @@ namespace OpenTK.Graphics
|
||||||
else if (window == null) throw new ArgumentNullException("window", "Must point to a valid window.");
|
else if (window == null) throw new ArgumentNullException("window", "Must point to a valid window.");
|
||||||
|
|
||||||
Debug.Print("Creating GraphicsContext.");
|
Debug.Print("Creating GraphicsContext.");
|
||||||
|
try
|
||||||
|
{
|
||||||
Debug.Indent();
|
Debug.Indent();
|
||||||
Debug.Print("GraphicsMode: {0}", mode);
|
Debug.Print("GraphicsMode: {0}", mode);
|
||||||
Debug.Print("IWindowInfo: {0}", window);
|
Debug.Print("IWindowInfo: {0}", window);
|
||||||
|
@ -90,6 +92,11 @@ namespace OpenTK.Graphics
|
||||||
}
|
}
|
||||||
//(implementation as IGraphicsContextInternal).LoadAll();
|
//(implementation as IGraphicsContextInternal).LoadAll();
|
||||||
}
|
}
|
||||||
|
finally
|
||||||
|
{
|
||||||
|
Debug.Unindent();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue