summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qopenglwindow.cpp
diff options
context:
space:
mode:
authorAndrew Knight <andrew.knight@digia.com>2014-07-25 14:01:41 +0300
committerAndrew Knight <andrew.knight@digia.com>2014-08-05 16:43:38 +0200
commit42f681ea8db8330c1992fc85669206efab5ab562 (patch)
tree8465a6712f67a681ae4daded0d8d4a5ad41cddd4 /src/gui/kernel/qopenglwindow.cpp
parent093e179b71b484fce91f23bd7cfefe14ae3f0387 (diff)
winrt: Use physical window resolution
This partially reverts eea02ff1 in that devicePixelRatio() will now always return 1. This is because non-integer ratios are bound to cause problems with pixel alignments, and their use prevents users from accessing the complete pixel grid in Qt Quick. Now, the full physical resolution of the screen/window is reported instead. The EGL initialization is adjusted to match requirements for ANGLE 2.1. Change-Id: I24c6dcf4419f30e5e4c73c592beb446a418a0b8b Reviewed-by: Jochen Seemann <seemann.jochen@gmail.com> Reviewed-by: Andrew Knight <andrew.knight@digia.com>
Diffstat (limited to 'src/gui/kernel/qopenglwindow.cpp')
0 files changed, 0 insertions, 0 deletions