mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-29 10:05:43 +00:00
43 lines
862 B
C#
43 lines
862 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Text;
|
|||
|
|
|||
|
namespace OpenTK.Platform
|
|||
|
{
|
|||
|
/// <summary>
|
|||
|
/// A dummy GLContext to be used inside the Visual Studio designer.
|
|||
|
/// </summary>
|
|||
|
internal 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
|
|||
|
}
|
|||
|
}
|