Corrected S02_RawInput_Logger crash by creating a render window.

This commit is contained in:
the_fiddler 2007-08-06 11:26:58 +00:00
parent 863a8e9557
commit 6e9ac53c7f

View file

@ -57,6 +57,13 @@ namespace Examples.Tests
public S02_RawInput_Logger()
{
this.CreateWindow(new OpenTK.Platform.DisplayMode(100, 100));
}
public override void OnLoad(EventArgs e)
{
base.OnLoad(e);
GL.ClearColor(0.0f, 0.0f, 0.0f, 0.0f);
}