mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 14:55:34 +00:00
Corrected S02_RawInput_Logger crash by creating a render window.
This commit is contained in:
parent
863a8e9557
commit
6e9ac53c7f
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue