mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-06-18 11:10:22 +00:00
Fixed license information.
Cleaned up Main method.
This commit is contained in:
parent
6aabf2cef5
commit
828836675b
|
@ -187,9 +187,7 @@ namespace Examples.Tutorial
|
||||||
{
|
{
|
||||||
using (T03_Immediate_Mode_Cube example = new T03_Immediate_Mode_Cube())
|
using (T03_Immediate_Mode_Cube example = new T03_Immediate_Mode_Cube())
|
||||||
{
|
{
|
||||||
// Get the title and category of this example using reflection.
|
Utilities.SetWindowTitle(example);
|
||||||
ExampleAttribute info = ((ExampleAttribute)example.GetType().GetCustomAttributes(false)[0]);
|
|
||||||
example.Title = String.Format("OpenTK | {0} {1}: {2}", info.Category, info.Difficulty, info.Title);
|
|
||||||
example.Run(30.0, 0.0);
|
example.Run(30.0, 0.0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue