Platform/SDL2: Don't SDL_PumpEvents when not owning Windows

This is a temporary fix
This commit is contained in:
Lynix 2020-06-02 16:40:08 +02:00
parent ad687b2afe
commit 1b4199c0a7
1 changed files with 2 additions and 1 deletions

View File

@ -289,7 +289,8 @@ namespace Nz
void WindowImpl::ProcessEvents(bool block)
{
SDL_PumpEvents();
if (m_ownsWindow)
SDL_PumpEvents();
/*if (m_ownsWindow)