|
using Microsoft.DirectX;
using Microsoft.DirectX.Direct3D;
using System.Drawing;
namespace DXCore_1
{
static class Program
{
static void Main()
{
using (Form1 GameWindow = new Form1())
{
GameWindow.presentParams = GameWindow.Engine.SetPParams(true, SwapEffect.Discard);
GameWindow.device = GameWindow.Engine.SetDevice(GameWindow, GameWindow.presentParams);
System.Windows.Forms.Application.Run(GameWindow);
}
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here
Founder & CEO of
Synap, an online education platform that uses machine learning to help people learn more in less time.
Software developer, main languages currently are Objective-C, MySQL and Javascript, though I got started on C++, C# and PHP.