summaryrefslogtreecommitdiffstats
path: root/src/gui/opengl/qopenglfunctions_4_5_compatibility.cpp
diff options
context:
space:
mode:
authorEirik Aavitsland <eirik.aavitsland@qt.io>2024-02-27 15:45:39 +0100
committerEirik Aavitsland <eirik.aavitsland@qt.io>2024-04-18 09:46:08 +0100
commitade33a91442f8085a7ddeb8e6fdf33463103b119 (patch)
tree30f2e0386e36c0185a030770f7fb75c5c8732f10 /src/gui/opengl/qopenglfunctions_4_5_compatibility.cpp
parentb05ea7279ee3827b4ec9d0a671b54c7ed8f6d4a4 (diff)
Avoid overflows in gradient calculationsHEADdev
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/gui/opengl/qopenglfunctions_4_5_compatibility.cpp')
0 files changed, 0 insertions, 0 deletions