1
0
Fork 0
mirror of https://github.com/Ryujinx/Opentk.git synced 2025-01-30 21:01:19 +00:00
Opentk/Source/OpenTK/Platform/Dummy/DummyGLControl.cs

27 lines
543 B
C#
Raw Normal View History

using OpenTK.Graphics;
namespace OpenTK.Platform.Dummy
{
class DummyGLControl : IGLControl
{
#region IGLControl Members
public OpenTK.Graphics.GraphicsContext CreateContext(int major, int minor, GraphicsContextFlags flags)
{
return new GraphicsContext(null, null);
}
public bool IsIdle
{
get { return false; }
}
public IWindowInfo WindowInfo
{
get { return new DummyWindowInfo(); }
}
#endregion
}
}