diff options
author | Gunnar Sletta <gunnar.sletta@nokia.com> | 2010-04-20 07:49:39 (GMT) |
---|---|---|
committer | Gunnar Sletta <gunnar.sletta@nokia.com> | 2010-04-20 08:03:37 (GMT) |
commit | d738414926bc575a37c6ae6c6cca68d01439b2ef (patch) | |
tree | 63504521bfa180b868b8d507f113a1b57bc4e10b /doc/src/snippets/code/src_opengl_qglshaderprogram.cpp | |
parent | d97c42b7fdb4b370ec5a09ef5d6f04e2e22f241d (diff) | |
download | Qt-d738414926bc575a37c6ae6c6cca68d01439b2ef.zip Qt-d738414926bc575a37c6ae6c6cca68d01439b2ef.tar.gz Qt-d738414926bc575a37c6ae6c6cca68d01439b2ef.tar.bz2 |
Fixed pixel-bleeding when stretching subrected pixmaps.
When stretching a subrect of a pixmap we need to clamp the sampling
to the subrect. This was done for the ARGB32_Premultiplied target
format but not for the generic fallback. This patch adapts the
code so that the two code paths are equivalent.
Reviewed-by: Samuel
Diffstat (limited to 'doc/src/snippets/code/src_opengl_qglshaderprogram.cpp')
0 files changed, 0 insertions, 0 deletions