summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/code/src_opengl_qgl.cpp
diff options
context:
space:
mode:
authorTom Cooksey <thomas.cooksey@nokia.com>2009-11-06 11:58:58 (GMT)
committerBradley T. Hughes <bradley.hughes@nokia.com>2009-11-06 13:07:40 (GMT)
commit8df2c631632694328c84c667a4022b1bcaac3b32 (patch)
tree1d08a923cc94e814b967552fba96104918f899c8 /doc/src/snippets/code/src_opengl_qgl.cpp
parentbffa9cbb0e123f3dd1ffd0f084d068fa673cbed7 (diff)
downloadQt-8df2c631632694328c84c667a4022b1bcaac3b32.zip
Qt-8df2c631632694328c84c667a4022b1bcaac3b32.tar.gz
Qt-8df2c631632694328c84c667a4022b1bcaac3b32.tar.bz2
Fix fuzzy aliased rendering on GLES2
The GL2 paint engine adds a (0.49,0.49) pixel offset when doing aliased rendering. But this assumed if it was doing aliased rendering then multisampling was disabled. On GLES, multisampling is always enabled if the surface has it enabled. So on GLES, we never add the offset if the surface is multisampled. Reviewed-By: Gunnar
Diffstat (limited to 'doc/src/snippets/code/src_opengl_qgl.cpp')
0 files changed, 0 insertions, 0 deletions