diff options
author | Jiang Jiang <jiang.jiang@nokia.com> | 2011-07-28 10:55:21 +0200 |
---|---|---|
committer | Jiang Jiang <jiang.jiang@nokia.com> | 2011-07-29 14:02:39 +0200 |
commit | b3187d850aa6e0a4818e2a982d13aab77ca20a82 (patch) | |
tree | cc3b069edd75a1076d2e930f466b30143e1b6463 /doc/src/snippets/code/doc_src_qalgorithms.cpp | |
parent | 3a66c5da851223cb4017d69ef3cca7d3818431c7 (diff) | |
download | qt4-tools-b3187d850aa6e0a4818e2a982d13aab77ca20a82.tar.gz |
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 'doc/src/snippets/code/doc_src_qalgorithms.cpp')
0 files changed, 0 insertions, 0 deletions