summaryrefslogtreecommitdiffstats
path: root/src/3rdparty
diff options
context:
space:
mode:
authorKim Motoyoshi Kalland <kim.kalland@nokia.com>2009-10-05 12:55:50 (GMT)
committerKim Motoyoshi Kalland <kim.kalland@nokia.com>2009-10-05 13:30:13 (GMT)
commit30f413b74f883f7e3984dfe39d825aa6c5f16132 (patch)
treef278b6f628068b43d7b8c1cc38254d873eda626b /src/3rdparty
parent6ce698050bbe9a4ec5198f1e08b94d51b8a6c9bd (diff)
downloadQt-30f413b74f883f7e3984dfe39d825aa6c5f16132.zip
Qt-30f413b74f883f7e3984dfe39d825aa6c5f16132.tar.gz
Qt-30f413b74f883f7e3984dfe39d825aa6c5f16132.tar.bz2
Fixed noisy looking textures in Basic Drawing example with GL2 engine.
When running the Basic Drawing example with the GL2 paint engine and antialiasing enabled, textures looked noisy. When antialiasing was enabled, the example translated the painter half a pixel to get sharp lines. This caused the textures to be sampled at texel corners. Without linear interpolation, sampling textures at texel corners is unpredictable. The fix is to not translate the painter. Reviewed-by: Gunnar
Diffstat (limited to 'src/3rdparty')
0 files changed, 0 insertions, 0 deletions