diff options
author | Eirik Aavitsland <eirik.aavitsland@qt.io> | 2024-02-27 15:45:39 +0100 |
---|---|---|
committer | Eirik Aavitsland <eirik.aavitsland@qt.io> | 2024-04-18 09:46:08 +0100 |
commit | ade33a91442f8085a7ddeb8e6fdf33463103b119 (patch) | |
tree | 30f2e0386e36c0185a030770f7fb75c5c8732f10 /src/plugins/platforms/xcb/nativepainting/qtessellator.cpp | |
parent | b05ea7279ee3827b4ec9d0a671b54c7ed8f6d4a4 (diff) |
Avoid overflows in gradient calculations
Avoid the optimized fixed-point function for vertical gradients if the
parameters are out of range for that. Fall back to the general
gradient function in that case.
Fixes: QTBUG-120331
Pick-to: 6.7 6.5 6.2
Change-Id: Idf116f0077403531d9ea414e3043fdc92b6fe4a9
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src/plugins/platforms/xcb/nativepainting/qtessellator.cpp')
0 files changed, 0 insertions, 0 deletions