public static void Main(string[] args) { try { RenderToTextureApplication app = new RenderToTextureApplication(); app.Go(); } catch (System.Runtime.InteropServices.SEHException) { // Check if it's an Ogre Exception if (OgreException.IsThrown) ExampleApplication.Example.ShowOgreException(); else throw; } }
public static void Main(string[] args) { try { RenderToTextureApplication app = new RenderToTextureApplication(); app.Go(); } catch (System.Runtime.InteropServices.SEHException) { // Check if it's an Ogre Exception if (OgreException.IsThrown) { ExampleApplication.Example.ShowOgreException(); } else { throw; } } }