mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 07:15:28 +00:00
Removed exceptions from Fullscreen properties.
This commit is contained in:
parent
a581ee102a
commit
2357f54af6
|
@ -90,7 +90,7 @@ namespace Examples.Tutorial
|
|||
if ((Keyboard[0][OpenTK.Input.Keys.LeftAlt] || Keyboard[0][OpenTK.Input.Keys.RightAlt]) &&
|
||||
Keyboard[0][OpenTK.Input.Keys.Enter])
|
||||
{
|
||||
Fullscreen = true;
|
||||
Fullscreen = !Fullscreen;
|
||||
}
|
||||
|
||||
GL.MatrixMode(Enums.MatrixMode.MODELVIEW);
|
||||
|
|
|
@ -84,8 +84,7 @@ namespace OpenTK
|
|||
if (height > 0)
|
||||
this.Height = height;
|
||||
*/
|
||||
if (mode.Fullscreen)
|
||||
this.Fullscreen = true;
|
||||
this.Fullscreen = mode.Fullscreen;
|
||||
|
||||
this.SetStyle(ControlStyles.UserPaint, true);
|
||||
this.SetStyle(ControlStyles.AllPaintingInWmPaint, true);
|
||||
|
@ -135,11 +134,12 @@ namespace OpenTK
|
|||
{
|
||||
get
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
return false;
|
||||
//throw new NotImplementedException();
|
||||
}
|
||||
set
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
//throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -71,7 +71,8 @@ namespace OpenTK.Platform.Windows
|
|||
}
|
||||
set
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
fullscreen = false;
|
||||
//throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -317,10 +317,12 @@ namespace OpenTK.Platform.Windows
|
|||
{
|
||||
get
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
return false;
|
||||
//throw new NotImplementedException();
|
||||
}
|
||||
set
|
||||
{
|
||||
fullscreen = false;
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -158,7 +158,8 @@ namespace OpenTK.Platform.X11
|
|||
}
|
||||
set
|
||||
{
|
||||
throw new Exception("The method or operation is not implemented.");
|
||||
//throw new Exception("The method or operation is not implemented.");
|
||||
fullscreen = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -334,11 +334,13 @@ namespace OpenTK.Platform.X11
|
|||
{
|
||||
get
|
||||
{
|
||||
throw new Exception("The method or operation is not implemented.");
|
||||
return false;
|
||||
//throw new Exception("The method or operation is not implemented.");
|
||||
}
|
||||
set
|
||||
{
|
||||
throw new Exception("The method or operation is not implemented.");
|
||||
|
||||
//throw new Exception("The method or operation is not implemented.");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue