Fix SDL_WasInit asserts firing due to lifetime management issues with SdlInputHandler

This commit is contained in:
Cameron Gutman 2019-02-12 19:30:02 -08:00
commit feb5e3bc78
2 changed files with 21 additions and 4 deletions

View file

@ -137,6 +137,7 @@ private:
bool m_PendingWindowedTransition;
bool m_UnexpectedTermination;
SdlInputHandler* m_InputHandler;
SDL_SpinLock m_InputHandlerLock;
int m_ActiveVideoFormat;
int m_ActiveVideoWidth;