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.
|
||||
/// </summary>
|
||||
public static class GameEngine {
|
||||
public static bool Debugging { get; set; }
|
||||
private static readonly object ignitionLock = new object();
|
||||
private static readonly object deltaUpdateLock = new object();
|
||||
private static Thread thread;
|
||||
@ -182,9 +181,9 @@ namespace SlatedGameToolkit.Framework {
|
||||
}
|
||||
stopped = true;
|
||||
manager.Deinitialize();
|
||||
SDL.SDL_Quit();
|
||||
SoLoudEngine.deinit();
|
||||
WindowContextsManager.DisposeAllWindowContexts();
|
||||
SDL.SDL_Quit();
|
||||
Logger.Log("Game engine has gracefully stopped.");
|
||||
Logger.FlushListeners();
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user