mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-24 02:35:36 +00:00
* Tests/GameWindowStates.cs: Updated GameWindowState.cs test pattern.
This commit is contained in:
parent
6293fbadc3
commit
1789c67fd2
|
@ -43,10 +43,12 @@ namespace Examples.Tests
|
|||
switch (this.WindowState)
|
||||
{
|
||||
case WindowState.Normal: this.WindowState = WindowState.Maximized; break;
|
||||
case WindowState.Maximized: this.WindowState = WindowState.Fullscreen; break;
|
||||
case WindowState.Fullscreen: this.WindowState = WindowState.Minimized; break;
|
||||
case WindowState.Minimized:
|
||||
this.WindowState = WindowState.Normal;
|
||||
case WindowState.Maximized: this.WindowState = WindowState.Fullscreen; break;
|
||||
case WindowState.Fullscreen:
|
||||
this.WindowState = WindowState.Normal;
|
||||
this.WindowState = WindowState.Minimized;
|
||||
break;
|
||||
case WindowState.Minimized: this.WindowState = WindowState.Normal;
|
||||
break;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue