Display.Width/.Height are now obsolete.
This commit is contained in:
parent
e0ec10d11c
commit
c0c0690a43
1 changed files with 2 additions and 0 deletions
|
@ -199,6 +199,7 @@ namespace OpenTK
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the Height of the DisplayMode. Height is the vertical span measured in pixels.
|
/// Gets or sets the Height of the DisplayMode. Height is the vertical span measured in pixels.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Obsolete("Use GameWindow.Height or GLControl.Height instead.")]
|
||||||
public int Height
|
public int Height
|
||||||
{
|
{
|
||||||
get { return height; }
|
get { return height; }
|
||||||
|
@ -218,6 +219,7 @@ namespace OpenTK
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the Width of the DisplayMode. Width is the horizontal span measured in pixels.
|
/// Gets or sets the Width of the DisplayMode. Width is the horizontal span measured in pixels.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
[Obsolete("Use GameWindow.Width or GLControl.Width instead.")]
|
||||||
public int Width
|
public int Width
|
||||||
{
|
{
|
||||||
get { return width; }
|
get { return width; }
|
||||||
|
|
Loading…
Reference in a new issue