mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-07-07 14:00:35 +00:00
Corrected S02_RawInput_Logger crash by creating a render window.
This commit is contained in:
parent
e6950a6128
commit
dac140a36d
|
@ -57,6 +57,13 @@ namespace Examples.Tests
|
||||||
|
|
||||||
public S02_RawInput_Logger()
|
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);
|
GL.ClearColor(0.0f, 0.0f, 0.0f, 0.0f);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue