renderer: Fix resize artifacts (stretching, bumps) (#7499)

This commit is contained in:
Vaxry
2024-10-05 00:52:53 +01:00
committed by Vaxry
parent a815b14bf1
commit 595eb89f6e
4 changed files with 46 additions and 34 deletions

View File

@@ -62,7 +62,7 @@ bool CWLSurface::small() const {
const auto O = m_pWindowOwner.lock();
return O->m_vReportedSize.x > m_pResource->current.bufferSize.x + 1 || O->m_vReportedSize.y > m_pResource->current.bufferSize.y + 1;
return O->m_vReportedSize.x > m_pResource->current.size.x + 1 || O->m_vReportedSize.y > m_pResource->current.size.y + 1;
}
Vector2D CWLSurface::correctSmallVec() const {