Updated hidden window constructor.

This commit is contained in:
the_fiddler 2008-03-01 13:16:34 +00:00
parent 6213551844
commit 459cbb0c8f

View file

@ -17,6 +17,7 @@ using OpenTK.Platform;
using OpenTK.Input; using OpenTK.Input;
using System.Diagnostics; using System.Diagnostics;
using System.Threading; using System.Threading;
using OpenTK.Graphics;
namespace Examples.Tests namespace Examples.Tests
{ {
@ -35,7 +36,7 @@ namespace Examples.Tests
void LaunchGameWindow() void LaunchGameWindow()
{ {
hidden = new GameWindow("OpenTK | Hidden input window", 16, 16); hidden = new GameWindow(16, 16, GraphicsMode.Default, "OpenTK | Hidden input window");
hidden.Load += hidden_Load; hidden.Load += hidden_Load;
hidden.Unload += hidden_Unload; hidden.Unload += hidden_Unload;
hidden.Run(60.0, 1.0); hidden.Run(60.0, 1.0);