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:
parent
fa264935ff
commit
2fb059e2fa
3
extern/sdl4ogre/sdlinputwrapper.cpp
vendored
3
extern/sdl4ogre/sdlinputwrapper.cpp
vendored
@ -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…
x
Reference in New Issue
Block a user