mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-24 23:11:10 +00:00
Display.Width/.Height are now obsolete.
This commit is contained in:
parent
5fb21414d8
commit
a12471c144
|
@ -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