mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-25 18:45:32 +00:00
27 lines
543 B
C#
27 lines
543 B
C#
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
|
|
}
|
|
}
|