2011-10-31 05:36:24 +00:00
|
|
|
using System;
|
2011-12-08 19:48:15 +00:00
|
|
|
using ANX.Framework.NonXNA;
|
2011-10-31 05:36:24 +00:00
|
|
|
|
|
|
|
namespace WindowsGame1
|
|
|
|
{
|
|
|
|
#if WINDOWS || XBOX
|
|
|
|
static class Program
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// The main entry point for the application.
|
|
|
|
/// </summary>
|
|
|
|
static void Main(string[] args)
|
2012-02-15 19:48:46 +00:00
|
|
|
{
|
|
|
|
AddInSystemFactory.Instance.SetPreferredSystem(
|
|
|
|
AddInType.RenderSystem, "OpenGL3");
|
|
|
|
//AddInType.RenderSystem, "DirectX11");
|
2011-12-14 11:49:04 +00:00
|
|
|
|
2011-10-31 05:36:24 +00:00
|
|
|
using (Game1 game = new Game1())
|
|
|
|
{
|
|
|
|
game.Run();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
}
|
|
|
|
|