mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-27 18:01:15 +00:00
Cast to obtain Context.Mode (which is an internal interface now).
This commit is contained in:
parent
5b999d7ecf
commit
caf9a991b4
|
@ -141,6 +141,8 @@ namespace OpenTK
|
||||||
|
|
||||||
#region public DisplayMode Mode
|
#region public DisplayMode Mode
|
||||||
|
|
||||||
|
// TODO: Remove for 0.3.15
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets the DisplayMode of the GLContext attached to this GLControl.
|
/// Gets the DisplayMode of the GLContext attached to this GLControl.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -149,7 +151,7 @@ namespace OpenTK
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
public DisplayMode Mode
|
public DisplayMode Mode
|
||||||
{
|
{
|
||||||
get { return Context.Mode; }
|
get { return (Context as IGLContextInternal).Mode; }
|
||||||
}
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
Loading…
Reference in a new issue