_guh
This commit is contained in:
@@ -437,7 +437,7 @@ void WindowBase::OnGotFocus()
|
||||
return;
|
||||
_focused = true;
|
||||
|
||||
if (RenderTask && _settings.WindowFPSWhenNotFocused > ZeroTolerance)
|
||||
if (RenderTask && _settings.WindowFPSWhenNotFocused > 0/* && RenderTask != MainRenderTask::Instance*/)
|
||||
RenderTask->RenderFPS = 0;
|
||||
|
||||
GotFocus();
|
||||
@@ -450,7 +450,7 @@ void WindowBase::OnLostFocus()
|
||||
return;
|
||||
_focused = false;
|
||||
|
||||
if (RenderTask && _settings.WindowFPSWhenNotFocused > ZeroTolerance)
|
||||
if (RenderTask && _settings.WindowFPSWhenNotFocused > 0/* && RenderTask != MainRenderTask::Instance*/)
|
||||
RenderTask->RenderFPS = _settings.WindowFPSWhenNotFocused;
|
||||
|
||||
LostFocus();
|
||||
|
||||
Reference in New Issue
Block a user