diff options
author | Jiang Jiang <jiang.jiang@nokia.com> | 2011-07-28 08:55:21 (GMT) |
---|---|---|
committer | Jiang Jiang <jiang.jiang@nokia.com> | 2011-07-29 12:02:39 (GMT) |
commit | b3187d850aa6e0a4818e2a982d13aab77ca20a82 (patch) | |
tree | cc3b069edd75a1076d2e930f466b30143e1b6463 /src/gui/painting/qpaintengine_raster.cpp | |
parent | 3a66c5da851223cb4017d69ef3cca7d3818431c7 (diff) | |
download | Qt-b3187d850aa6e0a4818e2a982d13aab77ca20a82.zip Qt-b3187d850aa6e0a4818e2a982d13aab77ca20a82.tar.gz Qt-b3187d850aa6e0a4818e2a982d13aab77ca20a82.tar.bz2 |
Fix gamma corrected source color in GL
GL_EXT_framebuffer_sRGB expects linear RGB as input color, thus we
need to convert sRGB based input color into linear RGB first before
using glBlendColor with it.
Task-number: QTBUG-20574
Reviewed-by: Samuel Rødal
Diffstat (limited to 'src/gui/painting/qpaintengine_raster.cpp')
0 files changed, 0 insertions, 0 deletions