2007-09-02 08:09:01 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace OpenTK.Platform
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2007-09-09 11:53:25 +00:00
|
|
|
|
/// An empty IGLContext implementation to be used inside the Visual Studio designer.
|
2007-09-02 08:09:01 +00:00
|
|
|
|
/// </summary>
|
2007-09-09 11:53:25 +00:00
|
|
|
|
internal sealed class DummyGLContext : IGLContext
|
2007-09-02 08:09:01 +00:00
|
|
|
|
{
|
|
|
|
|
#region --- IGLContext Members ---
|
|
|
|
|
|
|
|
|
|
public void SwapBuffers()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void MakeCurrent()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public IntPtr GetAddress(string function)
|
|
|
|
|
{
|
|
|
|
|
return IntPtr.Zero;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public IEnumerable<DisplayMode> GetDisplayModes()
|
|
|
|
|
{
|
|
|
|
|
throw new Exception("The method or operation is not implemented.");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region --- IDisposable Members ---
|
|
|
|
|
|
|
|
|
|
public void Dispose()
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
}
|