From 6e9ac53c7f1543a6b90fe2db91ffe86bb1420689 Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Mon, 6 Aug 2007 11:26:58 +0000 Subject: [PATCH] Corrected S02_RawInput_Logger crash by creating a render window. --- Source/Examples/Tests/S02_RawInput_Logger.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Source/Examples/Tests/S02_RawInput_Logger.cs b/Source/Examples/Tests/S02_RawInput_Logger.cs index 5d765ec6..1aa4ec11 100644 --- a/Source/Examples/Tests/S02_RawInput_Logger.cs +++ b/Source/Examples/Tests/S02_RawInput_Logger.cs @@ -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); }