avoid full update when window gets exposed (test)

This commit is contained in:
thrust26 2020-11-13 10:03:03 +01:00
parent 56f8af1d8f
commit d627acb408
1 changed files with 2 additions and 1 deletions

View File

@ -323,7 +323,8 @@ void EventHandler::handleSystemEvent(SystemEvent e, int, int)
{
case SystemEvent::WINDOW_EXPOSED:
case SystemEvent::WINDOW_RESIZED:
myOSystem.frameBuffer().update(true); // force full update
//myOSystem.frameBuffer().update(true); // force full update
myOSystem.frameBuffer().update();
break;
#ifdef BSPF_UNIX
case SystemEvent::WINDOW_FOCUS_GAINED: