diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2024-10-05 00:52:53 +0100 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2024-10-05 01:01:21 +0100 |
| commit | 595eb89f6e16df0e19916e3c02bf5ceac5a61c57 (patch) | |
| tree | c3c08f6405838491ae195a5f29e9f6c260a72b80 /src/desktop/WLSurface.cpp | |
| parent | a815b14bf1b69b92f82bd09f6845fbdbb2fbe516 (diff) | |
renderer: Fix resize artifacts (stretching, bumps) (#7499)
Diffstat (limited to 'src/desktop/WLSurface.cpp')
| -rw-r--r-- | src/desktop/WLSurface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/desktop/WLSurface.cpp b/src/desktop/WLSurface.cpp index 45050e35..5e88f507 100644 --- a/src/desktop/WLSurface.cpp +++ b/src/desktop/WLSurface.cpp @@ -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 { |
