GPU: Fix graphical glitch that can occur when frameskip is enabled, running a custom resolution on a multicore CPU system. (Regression from commit abc0649.)

This commit is contained in:
rogerman 2019-01-10 21:33:16 -08:00
parent 605ce35812
commit f5d90a77c1
1 changed files with 5 additions and 2 deletions

View File

@ -9653,8 +9653,11 @@ void GPUSubsystem::RenderLine(const size_t l)
}
}
this->_engineMain->UpdateRenderStates<OUTPUTFORMAT>(l);
this->_engineSub->UpdateRenderStates<OUTPUTFORMAT>(l);
if (!this->_willFrameSkip)
{
this->_engineMain->UpdateRenderStates<OUTPUTFORMAT>(l);
this->_engineSub->UpdateRenderStates<OUTPUTFORMAT>(l);
}
if ( (isFramebufferRenderNeeded[GPUEngineID_Main] || isDisplayCaptureNeeded) && !this->_willFrameSkip )
{