Opentk/Source/OpenTK/Platform/DummyGLContext.cs
the_fiddler a28c46cdc0 Improved documentation for DummyGLContext and Dummy.
Disabled S02_RawInput_Logger for updating.
Added WindowInfo.cs
2007-09-09 11:53:25 +00:00

43 lines
886 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace OpenTK.Platform
{
/// <summary>
/// An empty IGLContext implementation to be used inside the Visual Studio designer.
/// </summary>
internal sealed class DummyGLContext : IGLContext
{
#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
}
}