2009-02-22 11:43:35 +01:00
|
|
|
|
using OpenTK.Graphics;
|
|
|
|
|
|
|
|
|
|
namespace OpenTK.Platform.Dummy
|
|
|
|
|
{
|
|
|
|
|
class DummyGLControl : IGLControl
|
|
|
|
|
{
|
|
|
|
|
#region IGLControl Members
|
|
|
|
|
|
2009-03-07 12:03:41 +01:00
|
|
|
|
public OpenTK.Graphics.GraphicsContext CreateContext(int major, int minor, GraphicsContextFlags flags)
|
2009-02-22 11:43:35 +01:00
|
|
|
|
{
|
|
|
|
|
return new GraphicsContext(null, null);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public bool IsIdle
|
|
|
|
|
{
|
|
|
|
|
get { return false; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public IWindowInfo WindowInfo
|
|
|
|
|
{
|
|
|
|
|
get { return new DummyWindowInfo(); }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
}
|