diff --git a/Source/OpenTK/GLControl.cs b/Source/OpenTK/GLControl.cs index 32985bc6..3bdd6052 100644 --- a/Source/OpenTK/GLControl.cs +++ b/Source/OpenTK/GLControl.cs @@ -141,6 +141,8 @@ namespace OpenTK #region public DisplayMode Mode + // TODO: Remove for 0.3.15 + /// /// Gets the DisplayMode of the GLContext attached to this GLControl. /// @@ -149,7 +151,7 @@ namespace OpenTK /// public DisplayMode Mode { - get { return Context.Mode; } + get { return (Context as IGLContextInternal).Mode; } } #endregion