public static void Main(string[] args) { var context = DrawingContext.CreateOpenGL(1024, 600); while (context.Host.DrawFrame(Draw)) { } }
public static void Main(string[] args) { drawingContext = DrawingContext.CreateOpenGL(1024, 600); //drawingContext = DrawingContext.CreateDirectX(1024, 600); while (drawingContext.Host.DrawFrame(Draw)) { } }