Removed useless code, fixed early SDL quitting.
This commit is contained in:
parent
98869c2d38
commit
f4aa9b7ffb
@ -16,7 +16,6 @@ namespace SlatedGameToolkit.Framework {
|
|||||||
/// The main engine that will host the game loop.
|
/// The main engine that will host the game loop.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public static class GameEngine {
|
public static class GameEngine {
|
||||||
public static bool Debugging { get; set; }
|
|
||||||
private static readonly object ignitionLock = new object();
|
private static readonly object ignitionLock = new object();
|
||||||
private static readonly object deltaUpdateLock = new object();
|
private static readonly object deltaUpdateLock = new object();
|
||||||
private static Thread thread;
|
private static Thread thread;
|
||||||
@ -182,9 +181,9 @@ namespace SlatedGameToolkit.Framework {
|
|||||||
}
|
}
|
||||||
stopped = true;
|
stopped = true;
|
||||||
manager.Deinitialize();
|
manager.Deinitialize();
|
||||||
SDL.SDL_Quit();
|
|
||||||
SoLoudEngine.deinit();
|
SoLoudEngine.deinit();
|
||||||
WindowContextsManager.DisposeAllWindowContexts();
|
WindowContextsManager.DisposeAllWindowContexts();
|
||||||
|
SDL.SDL_Quit();
|
||||||
Logger.Log("Game engine has gracefully stopped.");
|
Logger.Log("Game engine has gracefully stopped.");
|
||||||
Logger.FlushListeners();
|
Logger.FlushListeners();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user