mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-09 11:45:37 +00:00
GraphicsContextBase.ToString() was easily crashing or recursing infinitely
This commit is contained in:
parent
01e0027580
commit
2fefc6632d
|
@ -141,8 +141,8 @@ namespace OpenTK.Graphics
|
|||
|
||||
public override string ToString()
|
||||
{
|
||||
return string.Format("[{0}: IsCurrent={1}, IsDisposed={2}, VSync={3}, SwapInterval={4}, GraphicsMode={5}, ErrorChecking={6}, Implementation={7}, Context={8}]",
|
||||
GetType().Name, IsCurrent, IsDisposed, VSync, SwapInterval, GraphicsMode, ErrorChecking, Implementation, Context);
|
||||
return string.Format("[{0}: IsCurrent={1}, IsDisposed={2}, VSync={3}, SwapInterval={4}, GraphicsMode={5}, Context={6}]",
|
||||
GetType().Name, IsCurrent, IsDisposed, VSync, SwapInterval, GraphicsMode, Context);
|
||||
}
|
||||
|
||||
public override int GetHashCode()
|
||||
|
|
Loading…
Reference in a new issue