static void Main(string[] args) { using (D3DApp app = new SsaoApp(Process.GetCurrentProcess().Handle)) { app.Initialize(); app.Run(); } }
static void Main(string[] args) { using (var app = new SsaoApp()) { app.Initialize(); app.Run(); } }