1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-03-25 16:43:33 +00:00

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() InputWrapper::~InputWrapper()
{ {
if(mSDLWindow != NULL)
SDL_DestroyWindow(mSDLWindow);
mSDLWindow = NULL;
} }
void InputWrapper::capture(bool windowEventsOnly) void InputWrapper::capture(bool windowEventsOnly)