Ejemplo n.º 1
0
 public static void Main()
 {
     using (SimpleES20Window example = new SimpleES20Window())
     {
         Utilities.SetWindowTitle(example);
         example.Run(30.0, 0.0);
     }
 }
Ejemplo n.º 2
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);
                }
            }
        }
Ejemplo n.º 3
0
 public static void Main()
 {
     using (SimpleES20Window example = new SimpleES20Window())
     {
         Utilities.SetWindowTitle(example);
         example.Run(30.0, 0.0);
     }
 }
Ejemplo n.º 4
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);
                }
            }
        }