Don't destroy the SDL window twice

pull/37/head
scrawl 11 years ago
parent fa264935ff
commit 2fb059e2fa

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

Loading…
Cancel
Save