Fixed license information.

Cleaned up Main method.
This commit is contained in:
the_fiddler 2009-06-26 21:07:57 +00:00
parent b24ae1e28b
commit 7f39df3460

View file

@ -187,9 +187,7 @@ namespace Examples.Tutorial
{
using (T03_Immediate_Mode_Cube example = new T03_Immediate_Mode_Cube())
{
// Get the title and category of this example using reflection.
ExampleAttribute info = ((ExampleAttribute)example.GetType().GetCustomAttributes(false)[0]);
example.Title = String.Format("OpenTK | {0} {1}: {2}", info.Category, info.Difficulty, info.Title);
Utilities.SetWindowTitle(example);
example.Run(30.0, 0.0);
}
}