2012-08-30 14:11:31 +00:00
|
|
|
//#define USE_GL3
|
2012-08-29 18:07:54 +00:00
|
|
|
|
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
|
|
|
|
{
|
2012-08-29 18:07:54 +00:00
|
|
|
static class Program
|
|
|
|
{
|
|
|
|
/// <summary>
|
|
|
|
/// The main entry point for the application.
|
|
|
|
/// </summary>
|
|
|
|
static void Main(string[] args)
|
|
|
|
{
|
|
|
|
#if USE_GL3
|
|
|
|
AddInSystemFactory.Instance.SetPreferredSystem(AddInType.RenderSystem, "OpenGL3");
|
|
|
|
#else
|
|
|
|
AddInSystemFactory.Instance.SetPreferredSystem(AddInType.RenderSystem, "DirectX10");
|
|
|
|
#endif
|
2011-12-14 11:49:04 +00:00
|
|
|
|
2012-08-29 18:07:54 +00:00
|
|
|
using (Game1 game = new Game1())
|
|
|
|
{
|
|
|
|
game.Run();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2011-10-31 05:36:24 +00:00
|
|
|
}
|
|
|
|
|