summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@qt.io>2017-07-04 12:27:24 +0200
committerLaszlo Agocs <laszlo.agocs@qt.io>2017-07-06 10:33:45 +0000
commit6d471d6ec79c10e564f2c05bfac7ffab3560f54d (patch)
tree7f7ee35c30ba743d1264717689a5453931d4cb00 /src
parentf6cc21f08441f1aa6fa0c4acd9e41efedb4e3823 (diff)
QQuickFBO: Keep devicePixelRatio qreal as long as possible
Task-number: QTBUG-61686 Change-Id: I9637be13f701d32d87a42fc4ae0f013b8843503e Reviewed-by: Andy Shaw <andy.shaw@qt.io> Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/quick/items/qquickframebufferobject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quick/items/qquickframebufferobject.cpp b/src/quick/items/qquickframebufferobject.cpp
index 52b19d994c..3c00e956cc 100644
--- a/src/quick/items/qquickframebufferobject.cpp
+++ b/src/quick/items/qquickframebufferobject.cpp
@@ -260,7 +260,7 @@ public:
bool renderPending;
bool invalidatePending;
- int devicePixelRatio;
+ qreal devicePixelRatio;
};
static inline bool isOpenGL(QSGRenderContext *rc)