Update Window.cs
This commit is contained in:
parent
1013dab242
commit
2439a34f2b
1 changed files with 2 additions and 1 deletions
|
|
@ -16,7 +16,8 @@ public class Window : IDisposable
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Initializes the object if it is not ready.
|
/// Initializes the object if it is not ready.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static Window Instance(int width, int height, string title) {
|
public static Window Instance(int width, int height, string title)
|
||||||
|
{
|
||||||
return _instance ?? new Window(width, height, title);
|
return _instance ?? new Window(width, height, title);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue