aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/scenegraph/softwarecontext/context.cpp
diff options
context:
space:
mode:
authorAndy Nichols <andy.nichols@theqtcompany.com>2015-01-06 16:49:34 +0100
committerAndy Nichols <andy.nichols@theqtcompany.com>2015-01-08 12:42:51 +0200
commitaf30f6492bedb0d24a2d5b518e4e01f000852520 (patch)
tree810d474df63c831aa3f2e119b6b417860f6c9826 /src/plugins/scenegraph/softwarecontext/context.cpp
parent5c4c7fe9b4a111d5e6071b67c3813b05c096e8c7 (diff)
Account for Device Pixel Ratio when rendering QSGLayer
Change-Id: I3570a6ee87786f1459a922bd43f38d1bbbe2c640 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com> Reviewed-by: Paul Tvete <paul.tvete@theqtcompany.com>
Diffstat (limited to 'src/plugins/scenegraph/softwarecontext/context.cpp')
-rw-r--r--src/plugins/scenegraph/softwarecontext/context.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/scenegraph/softwarecontext/context.cpp b/src/plugins/scenegraph/softwarecontext/context.cpp
index dafbfdaae9..f107290f62 100644
--- a/src/plugins/scenegraph/softwarecontext/context.cpp
+++ b/src/plugins/scenegraph/softwarecontext/context.cpp
@@ -143,7 +143,6 @@ void PixmapRenderer::render()
void PixmapRenderer::render(QPixmap *target)
{
- const QRect rect(0, 0, target->width(), target->height());
target->fill(clearColor());
QPainter painter(target);
painter.setRenderHint(QPainter::Antialiasing);