mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-26 16:55:39 +00:00
23 lines
745 B
C#
23 lines
745 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Text;
|
|||
|
|
|||
|
namespace OpenTK.Graphics
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Thrown when an operation that required GraphicsContext is performed, when no
|
|||
|
/// GraphicsContext is current in the calling thread.
|
|||
|
/// </summary>
|
|||
|
public class GraphicsContextMissingException : GraphicsContextException
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// Constructs a new GraphicsContextMissingException.
|
|||
|
/// </summary>
|
|||
|
public GraphicsContextMissingException()
|
|||
|
: base(String.Format(
|
|||
|
"No context is current in the calling thread (ThreadId: {0}).",
|
|||
|
System.Threading.Thread.CurrentThread.ManagedThreadId))
|
|||
|
{ }
|
|||
|
}
|
|||
|
}
|