diff options
| author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2021-04-14 12:59:20 +0200 |
|---|---|---|
| committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2021-04-14 14:28:54 +0200 |
| commit | 004189b2d8e751021f26d9eb28948f753ea8208c (patch) | |
| tree | f9050d77ed2ee9e5fbe81ef269c6b1fa2565112c /src/plugins/platforms/android/qandroidplatformopenglwindow.cpp | |
| parent | b7a3aa39e7bdfcee05ab4fcd01bf4e7a66d2d73c (diff) | |
Fix partial pixel coverage calculation
We want right - left, but the numbers we have are (1 - left) and right,
so we need right - (1 - left) = right + left - 1.
Pick-to: 6.1 6.0
Fixes: QTBUG-91957
Fixes: QTBUG-92485
Change-Id: I238cbbe1eebddff1ce56da38127899cdbd21db0e
Reviewed-by: Eirik Aavitsland <eirik.aavitsland@qt.io>
Diffstat (limited to 'src/plugins/platforms/android/qandroidplatformopenglwindow.cpp')
0 files changed, 0 insertions, 0 deletions
