Don't destroy the SDL window twice

This commit is contained in:
scrawl 2013-10-13 18:20:55 +02:00
parent fa264935ff
commit 2fb059e2fa

View file

@ -30,9 +30,6 @@ namespace SFO
InputWrapper::~InputWrapper()
{
if(mSDLWindow != NULL)
SDL_DestroyWindow(mSDLWindow);
mSDLWindow = NULL;
}
void InputWrapper::capture(bool windowEventsOnly)