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