aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlengine_p.h
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar@sletta.org>2014-10-23 11:28:22 +0200
committerGunnar Sletta <gunnar@sletta.org>2014-10-23 12:06:57 +0200
commit6e883c535b91c55289d54aa639199ca0a4decaec (patch)
tree05903e82d27339da160c4ba0ea8030a9d1b8618c /src/qml/qml/qqmlengine_p.h
parente3c6f39734ff54b2d7425f2edaaf6033ef2b1d9e (diff)
Fix pixelgrid snapping of native text on retina displays.
Change 63e6c9ada82dc8f16e705cef5f89292784b7ace4 introduced snapping to the pixel grid in the vertex shader for native text, but this code was broken on retina displays because it assumed integer only positions. Fix it by including the retina scale factor into the rounding. Task-number: QTBUG-38702 Change-Id: I84492b02d64f263c9fe030790e04cf79b0dc4e2f Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@theqtcompany.com>
Diffstat (limited to 'src/qml/qml/qqmlengine_p.h')
0 files changed, 0 insertions, 0 deletions