mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-02-02 19:51:10 +00:00
[Examples] Reverted mistaken change
This commit is contained in:
parent
4406d2db0d
commit
c81833a201
|
@ -101,32 +101,6 @@ namespace Examples
|
|||
public static void Main(string[] args)
|
||||
{
|
||||
Trace.Listeners.Add(new ConsoleTraceListener());
|
||||
using (Toolkit.Init())
|
||||
{
|
||||
while (true)
|
||||
{
|
||||
var state = OpenTK.Input.Keyboard.GetState();
|
||||
if (!state.IsConnected)
|
||||
{
|
||||
break;
|
||||
}
|
||||
else if (state.IsKeyDown(OpenTK.Input.Key.Escape))
|
||||
{
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
return;
|
||||
|
||||
Tests.GameWindowStates.Main();
|
||||
return;
|
||||
|
||||
using (var gw = new GameWindow())
|
||||
{
|
||||
gw.KeyDown += (sender, e) => gw.Exit();
|
||||
gw.Run(60);
|
||||
}
|
||||
return;
|
||||
|
||||
if (args.Length > 0)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue