summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/sqldatabase
diff options
context:
space:
mode:
authorBenjamin Poulain <benjamin.poulain@nokia.com>2010-08-25 10:13:00 (GMT)
committerBenjamin Poulain <benjamin.poulain@nokia.com>2010-08-25 11:56:37 (GMT)
commitd2089600ea247b5d6354e8eee4becf40802c4693 (patch)
treee84583a27233aeea7c232747e478d73710b43eac /doc/src/snippets/sqldatabase
parent3061e45108afc13848e9020790b2d60f07e16aa9 (diff)
downloadQt-d2089600ea247b5d6354e8eee4becf40802c4693.zip
Qt-d2089600ea247b5d6354e8eee4becf40802c4693.tar.gz
Qt-d2089600ea247b5d6354e8eee4becf40802c4693.tar.bz2
Refactor blend_transformed_bilinear to simplify the blend type checking
The function blend_transformed_bilinear_argb() was checking the blend type at runtime for each pixel in order to clamp the coordinates. This code was duplicated in both branch of the function. This patch factorize the code by doing the clamping in a template function. Reviewed-by: Samuel Rødal
Diffstat (limited to 'doc/src/snippets/sqldatabase')
0 files changed, 0 insertions, 0 deletions