GPU: Remove a now defunct check that could cause the window test buffer to fail to update. This fixes a graphical issue in Pokemon Black 2 when watching movies at the Pokestar Studios. (Regression from commit 7fc2e4b6. Fixes #486.)

This commit is contained in:
rogerman 2021-11-12 16:27:11 -08:00
parent 9f82cea20b
commit 0b4b58f3b4
1 changed files with 0 additions and 4 deletions

View File

@ -2710,10 +2710,6 @@ bool GPUEngineBase::_IsWindowInsideVerticalRange(GPUEngineCompositorInfo &compIn
template <size_t WIN_NUM>
void GPUEngineBase::_UpdateWINH(GPUEngineCompositorInfo &compInfo)
{
//dont even waste any time in here if the window isnt enabled
if (WIN_NUM == 0 && !compInfo.renderState.windowState.WIN0_ENABLED) return;
if (WIN_NUM == 1 && !compInfo.renderState.windowState.WIN1_ENABLED) return;
const size_t windowLeft = (WIN_NUM == 0) ? this->_IORegisterMap->WIN0H.Left : this->_IORegisterMap->WIN1H.Left;
const size_t windowRight = (WIN_NUM == 0) ? this->_IORegisterMap->WIN0H.Right : this->_IORegisterMap->WIN1H.Right;