mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-12 22:45:29 +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
|
||||
|
||||
// TODO: Remove for 0.3.15
|
||||
|
||||
/// <summary>
|
||||
/// Gets the DisplayMode of the GLContext attached to this GLControl.
|
||||
/// </summary>
|
||||
|
@ -149,7 +151,7 @@ namespace OpenTK
|
|||
/// </remarks>
|
||||
public DisplayMode Mode
|
||||
{
|
||||
get { return Context.Mode; }
|
||||
get { return (Context as IGLContextInternal).Mode; }
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
|
Loading…
Reference in a new issue