From b25ad7a6e15a7284e40407377a1624747ffe42e5 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Bruyère Date: Wed, 24 Nov 2021 23:50:38 +0100 Subject: IBackend instead of IDevice to bind to Interface --- Samples/HelloWorld/main.cs | 8 +++++--- Samples/PerfTests/Program.cs | 22 +++++++++++++--------- Samples/common/src/SampleBase.cs | 5 ----- 3 files changed, 18 insertions(+), 17 deletions(-) (limited to 'Samples') diff --git a/Samples/HelloWorld/main.cs b/Samples/HelloWorld/main.cs index e60b9782..e84607b9 100644 --- a/Samples/HelloWorld/main.cs +++ b/Samples/HelloWorld/main.cs @@ -1,13 +1,15 @@ using System; using Crow; +using Glfw; using Samples; namespace HelloWorld { - class Program { + class Program : Interface { + Program() : base (800, 600, true, true) {} static void Main (string[] args) { - using (Interface app = new Interface ()) { - app.Initialized += (sender, e) => app.LoadIMLFragment (@"