public static void Main() { using (SimpleES20Window example = new SimpleES20Window()) { Utilities.SetWindowTitle(example); example.Run(30.0, 0.0); } }
public static void Main() { SimpleES20Window example; try { example = new SimpleES20Window(GraphicsContextFlags.Embedded); } catch { example = new SimpleES20Window(GraphicsContextFlags.Default); } if (example != null) { using (example) { Utilities.SetWindowTitle(example); example.Run(30.0, 0.0); } } }
public static void Main() { SimpleES20Window example; try { example = new SimpleES20Window(GraphicsContextFlags.Default); //example = new SimpleES20Window(GraphicsContextFlags.Embedded); } catch { example = new SimpleES20Window(GraphicsContextFlags.Default); } if (example != null) { using (example) { Utilities.SetWindowTitle(example); example.Run(30.0, 0.0); } } }