Platform/SDL2: Don't SDL_PumpEvents when not owning Windows
This is a temporary fix
This commit is contained in:
parent
ad687b2afe
commit
1b4199c0a7
|
|
@ -289,7 +289,8 @@ namespace Nz
|
||||||
|
|
||||||
void WindowImpl::ProcessEvents(bool block)
|
void WindowImpl::ProcessEvents(bool block)
|
||||||
{
|
{
|
||||||
SDL_PumpEvents();
|
if (m_ownsWindow)
|
||||||
|
SDL_PumpEvents();
|
||||||
|
|
||||||
|
|
||||||
/*if (m_ownsWindow)
|
/*if (m_ownsWindow)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue